How can I remove the file location bar above code in Visual Studio Code?

前端 未结 2 1816
时光说笑
时光说笑 2020-12-21 18:21

\"screenshot\"

How do I get rid of the little bar above the code where it shows what file I\'m in and where in that

相关标签:
2条回答
  • 2020-12-21 18:52

    Those are the breadcrumbs added in a recent version of VSCode. To disable them in the latest version, you can navigate to your settings (via the gear icon in the lower left), and under the User Settings tab, click Workbench, then Breadcrumbs, then uncheck the Enabled box.

    Or if you are using the JSON settings editor:

    "breadcrumbs.enabled": false
    

    I believe there may have been an intermediary version of VSCode where breadcrumbs were available but before the settings GUI was implemented, in which case the steps would be similar but you would have to navigate through the old settings page and modify the correct line of settings.json instead.

    0 讨论(0)
  • 2020-12-21 19:04

    I think what you're looking for is this -

     "workbench.editor.showTabs": false
    

    Add that to your settings.json, it should work immediately

    0 讨论(0)
提交回复
热议问题