Hide file drop down menu in editor

2019-01-15 21:50发布

问题:

I'm working in VS Code and (I think I used a wrong shortcut) the following feature appeared: When having a file opened in a tab, there appears a bar below the header of the tab and above the first line of the file. When clicking on it, a dropdown menu opens up, where one can select the other files of the current folder (see picture below). When clicking on one of them, this file is opened in a new tab. How can i remove this menu? I already searched through my user and workspace settings, but didn't find an appropriate option.

Picture

Thanks for your answers

回答1:

You have enabled VSCode's breadcrumb feature. To disable it:

  1. Press Ctrl+Shift+P to open the command pallete.
  2. Type "Toggle Breadcrumbs" and press enter.

Alternatively, you can disable the breadcrumbs from the settings menu: