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

Per-editor/tab background color #35379

Closed
fabiospampinato opened this issue Sep 29, 2017 · 11 comments
Closed

Per-editor/tab background color #35379

fabiospampinato opened this issue Sep 29, 2017 · 11 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality themes Color theme issues workbench-tabs VS Code editor tab issues
Milestone

Comments

@fabiospampinato
Copy link
Contributor

fabiospampinato commented Sep 29, 2017

It would be awesome to have the ability to change the background color of an editor/tab on a per-editor/tab basis, programmatically. The use case I'm thinking about is ToDo files, but there might be others.

For instance this is what a todo file might look like in VSC:

screen shot 2017-09-29 at 15 35 41

code-tabs

This is what it looks like in Sublime:

screen shot 2017-09-29 at 15 35 51 1

sublime-tabs

Having those editors/tabs in a different color makes them stand out.

Also, some decorators used by the VSC extension in the screenshot are necessarily dynamic, and because of #32813 the colors used in them are provided via the settings. This means that if a user changes its theme he/she will also need to change those settings for those decorators to not look out of place. With the ability to set a custom background colors those decorators will look right no matter the theme.

@vscodebot vscodebot bot added the workbench label Sep 29, 2017
@isidorn isidorn assigned bpasero and unassigned isidorn Sep 29, 2017
@bpasero bpasero added feature-request Request for new features or functionality workbench-tabs VS Code editor tab issues labels Sep 29, 2017
@bpasero bpasero removed their assignment Sep 29, 2017
@hujianxin
Copy link

I really really need this feature.

Like this pic:

@michael-38
Copy link

I agree. The current UI looks like the tab that I'm on is not selected (and vice versa). The selected tab colour should be lighter (grey) and other tabs should be darker (black).

@jpike88
Copy link

jpike88 commented Feb 9, 2018

I think it would be useful in a multi-root environment, for tabs to inherit the colours of their relevant project settings. It gets confusing juggling grey tabs in a client/server environment.

@deadcoder0904
Copy link

Would definitely love colored tabs

@oreporan
Copy link

oreporan commented Oct 5, 2019

There is an extension that does exactly this -
ColorTabs
You can choose what you want to color, the tab, the title bar etc. based on a regex

@fabiospampinato
Copy link
Contributor Author

fabiospampinato commented Oct 5, 2019

@oreporan I don't think that extension can achieve something similar to what Sublime provides. Besides I'm asking for an API for this, which I would in turn use in my extensions.

@oreporan
Copy link

oreporan commented Oct 5, 2019

Oh my bad - overlooked the "programatically" part in your original post

Anyways, some of the other comments seem to be looking for something that this extension provides if I understood correctly

@bpasero bpasero added this to the Backlog milestone Oct 24, 2019
@hediet
Copy link
Member

hediet commented Jul 10, 2020

I would love to have this feature too!
Currently I have a medium sized backend and many frontend applications within the same workspace (repository).
It starts to get confusing whenever I touch files across all sub-projects. Colored tabs would greatly help here - they build up a mental model and help to orientate a lot.

@Jared-Dev
Copy link

I think it would be useful in a multi-root environment, for tabs to inherit the colours of their relevant project settings. It gets confusing juggling grey tabs in a client/server environment.

It would be incredible if when working in a multi-root project you could define custom themes for each root folder. Ideally, these settings could live within a .vscode folder of each root folder as well as within the *.code-workspace file!

@bpasero bpasero added the themes Color theme issues label Nov 7, 2020
@bpasero
Copy link
Member

bpasero commented Nov 7, 2020

/duplicate #20652

@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality themes Color theme issues workbench-tabs VS Code editor tab issues
Projects
None yet
Development

No branches or pull requests

11 participants