question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide API to access and change editor tab labels

See original GitHub issue

Feature Request

The Atom has the ability to customize the tabs, it’s so powerful for some requirements. For example, there is an extension nice-index in Atom that could be able to rename tabs of many opened editors have same name index.js, rename them to the names of their parent folder.

image

image

It’s very useful that if we could do so.

@bpasero I got it that the feature requested by #32836 will not be considered in the first half year of 2018. I think my feature request is very similar with that, so may I ask you when the ability to customize tabs in VSC would be added into the roadmap ?

I was excited when I start to think how can I implement a extension like nice-index in VSC, but after I involved in the documents about customizing a VSC extension, I just found that I can not achieve this. I hope that you could consider this feature request, thanks for all of your great works ~ 🙏

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:330
  • Comments:65 (4 by maintainers)

github_iconTop GitHub Comments

43reactions
tomByrercommented, May 8, 2018

I hope this feature gets added. It is not uncommon for a ReactJS project to have 20+ index.* files. I was wondering why nice-index had not been ported yet.

29reactions
joaomendoncaacommented, Mar 14, 2021

Well, after discovering I could “alt + [number]” to switch between tabs I didn’t stop until I could make the tabs display their index. I know this is a very niche request so after not finding any solution for this I considered making my own extension for this. Would be a perfect first extension for VSCode.

And now I stumbled upon this…

This is my vote to make the Tabs API solve all the above issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VS Code: Provide API to access and change editor tab labels ...
VS Code: Provide API to access and change editor tab labels (github.com/microsoft). 3 points by acqbu 5 months ago | hide | past...
Read more >
Using WorkspaceAPI to change the tab label | WedgeCommerce
Generally, while creating a lightning tab we provide a label to it. If you want to change the label you have to edit...
Read more >
Working with the Tabs API - Mozilla - MDN Web Docs
With the Tabs API, you can work with and manipulate these tabs to create utilities that provide users with new ways to work...
Read more >
VS Code API | Visual Studio Code Extension API
This gives extensions full control over actions such as edit, save, and backup. You should use this type of custom editor when dealing...
Read more >
How to set tab values in a template - REST API
Next, select Actions, then Edit on the app for which you want to ... but make sure to substitute your OAuth access token...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found