How can I open a file in a new tab?

后端 未结 5 580
情书的邮戳
情书的邮戳 2020-12-07 11:02

How do I open a new file using Ctrl+P, so it doesn\'t override the current file, but rather use a new tab?

Also, would it be possible to focus

5条回答
  •  萌比男神i
    2020-12-07 11:37

    Go to menu FilePreferencesSettings → search for "settings.json", and at the last line before }, add a comma to the last option and paste:

    "workbench.editor.enablePreview": false

    For example:

    {
        "editor.fontFamily": "'Consolas', 'monospace', 'Times New Roman'",
        "terminal.integrated.fontFamily": "monospace",
        "editor.fontSize": 13,
        "workbench.iconTheme": "vscode-icons",
        "workbench.editor.enablePreview": false
    }
    

提交回复
热议问题