microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.44k stars 28.62k forks source link

Display Tab Indexes #209533

Open swordjjjkkk opened 5 months ago

swordjjjkkk commented 5 months ago

When writing code, it's often necessary to switch between tabs, and VSCode already has the workbench.action.openEditorAtIndex command for quickly switching tabs. Setting up a shortcut for this would be very handy, especially for Vim users. However, tabs themselves do not display their index number, which makes using this feature inconvenient. Therefore, I want to add a setting option for users that allows displaying the index number on tabs, making it convenient to use the workbench.action.openEditorAtIndex command. shows like this, image

ghrejoe commented 3 months ago

It is necessary to display the tabindex, and I am looking forward to it

diminutivesloop commented 3 months ago

It would be nice to have the option to activate this when holding down the ctrl key so it's not showing all the time.