calebeaires
calebeaires

Reputation: 2084

Hide file path and name references from editor`s bar of VSCode

After search into VSCode workbench api/references, I didnt find some way to hide the file name/path status bar of the editor.

Did anyone succeed?

vscode editor settings.json

Upvotes: 2

Views: 1149

Answers (3)

Lesik2008
Lesik2008

Reputation: 487

Update for 2024

As of feature request #33607 getting merged (around October 2023), the workbench.editor.showTabs setting can now be set to the options

  • multiple - default behavior showing all tabs
  • single - the unwanted behavior showcased in your question, where information about the currently opened file is shown
  • none - the behavior you were requesting, where the bar above the editor is hidden entirely

a screenshot of visual studio code with the showTabs setting set to none

Upvotes: 0

vikramhansawat
vikramhansawat

Reputation: 36

Open settings.json file and add the following:

"workbench.editor.showTabs": true,

You can open the settings.json file by clicking on Preferences -> Settings -> Edit in settings.json file. or by Command + shift + p and search for "Open Settings (JSON)".

Upvotes: 2

Mark
Mark

Reputation: 180695

Look at this setting:

Workbench › Editor: Label Format

Controls the format of the label for an editor.

But default is the default and it only shows the filename - perhaps your setting got changed.

Upvotes: 1

Related Questions