Force single instance of VS Code

The default setting of Visual Studio Code or VS Code for short is to open a new instance of every file it opens externally on its application, if you want to force it to be on a single instance just open your settings.json and set the configuration key window.openFilesInNewWindow to “off“.

just like this