Hi, here is a tutorial, it is in Spanish but it is understood.
Install Visual Studio Code Unreal Engine