Starting Code Project doesn't open Unreal Editor

In the introductory video to installation and setup, creating a new Code Project opens the Editor, from which code can be selected and then edited in Visual Studio. However, when I attempt to create a new Code Project, the Unreal Engine Editor does not open. Instead, it just opens a blank project in Visual Studio. When I attempt to open other projects, the engine gives me the error:

The game module ‘MyProject’ could not be found. Please ensure that this module exists and that it is compiled.

I couldn’t find a working fix for this online, could someone please help me?

Editor is binded to your dll, so you need to compile that empty project (which is not really empty) and it will create empty module dll which is needed to run it

Thank you, that worked.

The same thing happened to me, but when compiling gave me this build error…

1>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------
1> Parsing headers for MyProjectEditor
1> Code generation finished for MyProjectEditor and took 3.497
1> rc.exe MyProject.rc
1> PCH.MyProject.MyProject.h.cpp
1>C:\Unreal Projects\MyProject\Source\MyProject\Resources\Windows\MyProject.rc(11): fatal error RC1015: cannot open include file ‘windows.h’.
1>
1>C:\Program Files\Unreal Engine\4.1\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(8): fatal error C1083: Cannot open include file: ‘new’: No such file or directory
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
1> Cumulative action seconds (8 processors): 0.00 building projects, 0.35 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
1> UBT execution time: 11.44 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ““C:\Program Files\Unreal Engine\4.1\Engine\Build\BatchFiles\Build.bat” MyProjectEditor Win64 Development “C:\Unreal Projects\MyProject\MyProject.uproject” -rocket” exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========