I want a way to open/create files from the terminal - using the same VS Code Window.
If I try to give the following command using the terminal, it'll close the current window and open a new one.
code . nameofthefile.js -r --reuse-window
Then, if I'm running npm start - the previous command will kill it. On top of this - it'll reload my workspace removing all the folders that were in the Explorer on the left bar.
If I use only ..
code . nomeofthefile.js
- this will open a new window. That's not what I want as well.
Is it possible to open a new file without closing the current with a terminal command in VS Code?