This article introduces how to configure Visual Studio Code (VSCode) to prevent tab overwriting when opening files.
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.