Skip to content

How to force VSCode to Open Files in a New Tab

Programming · January 6, 2018

Sharing is Caring

Visual Studio Code is a fantastic open source editor from Microsoft. By default, in Visual Studio Code, files open in the same tab.

This is because of “Preview Mode” which is designed to allow you to quickly view files.

To stop files from going into preview mode, and always open a new tab go to File -> Preferences -> Settings (or Ctrl + ,)

And add the following to “Users Settings”

"workbench.editor.enablePreview": false

Make sure you include a comma if there’s other settings as it has to be valid json.

VS Code Open Files in New Tab

Sharing is Caring
Microsoft vs code vscode open new tab