Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#feature Request: Update Label #3

Closed
hanimay opened this issue Feb 26, 2019 · 12 comments
Closed

#feature Request: Update Label #3

hanimay opened this issue Feb 26, 2019 · 12 comments

Comments

@hanimay
Copy link

hanimay commented Feb 26, 2019

Lovely plugin.
Can we prepend or append the label with a title, when we mouse over the tab name ?
It's not easy to remember colors when working on multiple projects and I always find myself reading the whole URI of the file, So a label would make it much easier.
Thanks :)

@oreporan
Copy link
Owner

Hey, thanks :)

So apparently from what I checked, its impossible to change the tab name (weird)
Its according to this stackoverflow question

We could do something in the titlebar though, would that be helpful?

@hanimay
Copy link
Author

hanimay commented Feb 26, 2019

Not the tab itself but the label that shows up when you mouse over the tab.
Is that possible to change ?

@oreporan
Copy link
Owner

Unfortunately I couldn't find a way to edit the hover text of the tab

Here is a list of things you can change on the tab according to vscode -

https://code.visualstudio.com/api/references/theme-color#editor-groups-tabs

@hanimay
Copy link
Author

hanimay commented Feb 26, 2019

I see.
I did a quick look at the documentation, I think we can benefit from status bar to do that.
https://code.visualstudio.com/api/references/vscode-api#StatusBarItem
https://github.com/Microsoft/vscode-extension-samples/tree/master/statusbar-sample
What do you think ?

@oreporan
Copy link
Owner

to pop up a status bar every time you switch files?

@hanimay
Copy link
Author

hanimay commented Feb 26, 2019

Ah no, check the sample, second link.

@oreporan
Copy link
Owner

I did :)
I see a status bar that pops up to say how many lines you have - I assumed you mean to pup up this status bar to show some label?

@hanimay
Copy link
Author

hanimay commented Feb 26, 2019

Ah ok :)
For me pop up is something that blocks my view .
Well it could always be visible
selection_004

@oreporan
Copy link
Owner

oreporan commented Feb 26, 2019

I'm not sure its a good idea to add another status bar
How about using the title bar for this? I already color it based on the regex, could also at a label -

Currently its - ${activeEditorShort}${separator}${rootName}

We could change it to - ${regex_based_label}${separator}${activeEditorShort}${separator}${rootName}

@hanimay
Copy link
Author

hanimay commented Feb 26, 2019

I had the impression that we can't do it .
The title bar would be amazing 👍

@oreporan
Copy link
Owner

Check it out - Let me know what you think

#4

@oreporan
Copy link
Owner

Released in 5.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants