Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a VS Code extension or setting to alleviate useless index.js tab names?

Here's my current tab list, for reference:

enter image description here

I don't need to see index.js on any of these files, I need the parent folder name directly next to index.js, that's the useful information in the tab.

Is there a setting or extension which shoves index.js to the end of the tab, giving me useful tabs back?

I suppose in the mean time, I can use the open editors section of the navigator instead.

like image 693
M. Herold Avatar asked Jun 26 '18 21:06

M. Herold


People also ask

How do I change my tab settings in VS Code?

To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings. On macOS - Code > Preferences > Settings.


1 Answers

You can use the "workbench.editor.labelFormat" option for this. I've set it to "short", now each file is followed by its directory.

like image 112
kragovip Avatar answered Nov 13 '22 04:11

kragovip