Why should i use visual studio for writing c++ code? cant i compile from any other c++ compiler's and include it in unreal? why is this close coupling between unreal and visual studio?

Here is a useful video on showing how to use any other editor (in this case Sublime), how projects are structured, and how to use Unreal Build Tool directly.