This article introduces how to configure Visual Studio Code (VSCode) to prevent tab overwriting when opening files.
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
- Press Command + ,
- Enter enablePreview in the Search settings form
- Uncheck both Enable Preview and Enable Preview From Quick Open ☑️
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.
