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] Coloring tabs by extension #12223

Open
guy038 opened this issue Sep 23, 2022 · 4 comments
Open

[Feature request] Coloring tabs by extension #12223

guy038 opened this issue Sep 23, 2022 · 4 comments

Comments

@guy038
Copy link

guy038 commented Sep 23, 2022

Dear contributors,

Two requests :

  • Firstly, I was thinking about a way to modify the tab colors but this has already been asked by @ArkadiuszMichalski here

  • Secondly, from this issue, and although I probably won't need this feature, I suppose that the possibility to define a tab color, for all the files with a specific extension, could be interesting for some people !

To achieve such a goal, I was thinking about a new section in Settings > Preferences... > Highlighting, which could be named Color matching extensions or equivalent

It would contain 5 lines :

Color tab 1
Color tab 2
Color tab 3
Color tab 4
Color tab 5

Each of them would be followed with a zone to type in an extension. We may imagine this logic :

  • Any assignment of an extension would force all the tabs, with that specific extension, to be colored with the chosen color, regardless of their possible previous color

  • Any deletion of an extension would break, from now on, the link between that extension and the specified tab color and this color would be removed for all the tabs with the specified extension

Of course, this idea need some developments !

Here is my ( obvious ) debug info :

Notepad++ v8.4.6   (64-bit)
Build time : Sep 22 2022 - 04:07:55
Path : E:\846_x64\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit) 
OS Version : 21H2
OS Build : 19044.2075
Current ANSI codepage : 1252
Plugins : 
    mimeTools (2.8)
    NppConverter (4.4)
    NppExport (0.4)

Best Regards,

guy038

@guy038 guy038 changed the title Coloring tabs by extension [Feature request] Coloring tabs by extension Sep 24, 2022
@alankilborn
Copy link
Contributor

extension

Probably better in terms of "language" like pretty much everything else of this nature, in Notepad++?

@Yaron10
Copy link

Yaron10 commented Sep 24, 2022

Secondly, from this #2271, and although I probably won't need this feature, I suppose that the possibility to define a tab color, for all the files with a specific extension, could be interesting for some people !

I agree that some users might find this feature useful.
Personally, like @guy038, I probably would not use that.

I'd suggest to display the extension's shell icon in the documents' tabs.
If the idea is accepted, the desired implementation/result can be discussed.

@alankilborn
Copy link
Contributor

I'd suggest to display the extension's shell icon in the documents' tabs.

Separate idea? New issue?

Would this supplant the current icon?, which is more useful because it conveys really relevant info (file status: saved, modified, locked, monitored).

@Yaron10
Copy link

Yaron10 commented Sep 24, 2022

Separate idea? New issue?

#12231.

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

3 participants