How does Unreal send commands to Visual Studio?

It uses the DTE interface (unless you’re using an editor that was built using VS express, which I don’t think anyone is anymore). Check out VisualStudioSourceCodeAccessor.cpp for the specifics.

If you mean more generically “how do I open things in the target IDE” then check out how ISourceCodeAccessModule and ISourceCodeAccessor are used.

Hello,

I just was wondering. How does Unreal send commands to Visual Studio such as open the CPP file created when a New C++ class is created from the editor or when right click in a BP function to check the code?