Today Microsoft released the Visual Studio Code file/folder editor.
The first limitation is it appears to be a single-instance application.
Is there a way of
You can open multiple windows (from the menu or by running the code
executable again).
However, unfortunately there seems to be no way to actually have separate instances at the moment. For example, if you have two shells open with different environments in each (different paths, etc.), launching code
for both will result in the second window sharing the same paths as the first, and ignoring the environment it was launched from.
If you have all your JavaScript files in multiple folders under one folder that works out very well, and that's what I did:
I like opening Visual Studio Code from the run prompt/dialog instead, with a sweet and simple cmd /c code -n
. Since the run dialog also maintains your command history on a per user basis, it is very convenient. One click and go -
If you want to open multiple instances of the same folder, then it is not currently supported. Watch and upvote this GitHub issue if you want to see it implemented: Support to open a project folder in multiple Visual Studio Code windows
To open a new instance with your project loaded from terminal, just type code <directory-path>