How to setup Visual Studio Code to work with Unreal Engine 5.2 to enable code rebuilds

I’m using Unreal Engine 5.2.1.
I’ve been trying to use Visual Studio Code as the default editor, but I found out that key features are not supported out of the box:

  • I can’t rebuild the code while the editor is running
  • starting the project from Visual Studio code throws an error about “Live Coding” being enabled

Does any comprehensive documentation exists that shows how to properly set up Visual Studio Code with Unreal Engine? This webpage - Setting Up Visual Studio Code for Unreal Engine | Unreal Engine 5.0 Documentation - doesn’t cover those topics unfortunately.

This video might help you