Question

I was wondering if there is a way in Netbeans (v 6.8, or whatever) to have the editor tabs colored based on which project the file belongs to? Or some other easy way to distinguish which project a file belongs to.

Basically my problem is that I have 3-4 netbeans projects, which all have a very similar code base (production version, staging version, development version 1, development version 2), and sometimes I have files open from a few different projects, and I get confused as to which project the file belongs to.

And I know that you can hover over the tab and you can see which project it belongs to, but it would be fantastic if there was another, easier way to visually distinguish which project a file belongs to.

Was it helpful?

Solution

IN Netbeans 7.4 (may be some versions earlier too) you can actually set exactly what you have asked for.

Just look at the screenshot below.

Netbeans 7.4 colored tabs grouped by project type

UPDATE:- If you dont find these settings in the misceleneous tab try the appearence tab, seems like this has been moved recently. (16-08-2014)

OTHER TIPS

Update to 9kSoft answer. now (8.0.2) this option is in: Tools->Options->Appearance->Document Tabs

Options tab 8.0

right click on the editor and select the menu item "select in > projects". the shortcut key is "Command + Shift + 1" in mac. in linux/windows I think it is "Ctrl + Shift + 1". this causes the file you are editing, to be selected in the projects view. I do it all the time I'm confused which file in which project I'm working on.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top