When I create new C++ Project (Base Code), UE4 opens only code editor (MS VSCode). Then when I close code editor and I open this project, UE4 opens its editor. Why?
When set as a C++ project UE is set to assume you want to code. So it opens visual studio. Seems reasonable.
You can disable it by setting it in the ini file: