views:

70

answers:

2

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.

A: 

checkout the netbeans plugin page

http://plugins.netbeans.org/PluginPortal/

rgksugan
Thanks, but that was an obvious first step before posting the question.
sdek
A: 

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.

farzad
I have used this pretty often also, except I never used the keyboard shortcut, which I'll bet will be more convenient. I was hoping there would be some way to visually distinguish without having to click around and do keyboard shortcuts. Geez I am lazy! I suppose this is the *best* answer for now.
sdek