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
In 2019, it will automatically open a new session, new instance of vs-code. By type
C:\Apache24\htdocs\json2tree>code .
at the command window, under your project root folder.
first cd into your project folder,
C:\Apache24\htdocs\json2tree>
then, type
code .
Select menu File → New Window from the menu and then open the other folder in the new window.
You can also create a shortcut with an empty filename
"%LOCALAPPDATA%\Local\Code\Code.exe" ""
Easiest when you don't know the CTRL+SHIFT+N shortcut is to use the menu: File, New Window
Ctrl + Shift + N will open a new window, while Ctrl+K then releases the keys, and pressing O would open the current tab in a new window. You can then use menu File → Open Folder to have two instances of Visual Studio Code with different folders in each window.
⌘ + Shift + N and ⌘ + K for Mac.
List of helpful keyboard shortcuts can be found here.
In Linux (tested with Ubuntu and Kali Linux) you can also right click the tile on the dock and select New Window
.