[VSCode] How to Prevent Tab Overwriting When Opening Files

Tadashi Shigeoka ·  Sat, July 13, 2019

This article introduces how to configure Visual Studio Code (VSCode) to prevent tab overwriting when opening files.

VSCode | Visual Studio Code

Prerequisites VSCode for macOS

  • Visual Studio Code (VSCode) Version 1.36.1
  • macOS Version 10.14.5

How to Configure VSCode to Prevent Tab Overwriting When Opening Files

Change Settings from VS Code App

  1. Press Command + ,
  2. Enter enablePreview in the Search settings form
  3. Uncheck both Enable Preview and Enable Preview From Quick Open ☑️
workbench.editor.enablePreview: false | VSCode

Change Settings from VSCode settings.json

code ~/Library/Application\\ Support/Code/User/settings.json

Add the following definitions to settings.json to complete the configuration:

    "workbench.editor.enablePreview": false,
    "workbench.editor.enablePreviewFromQuickOpen": false

That’s all from the Gemba on configuring VSCode to prevent tab overwriting when opening files.