Search code examples
netbeansnetbeans6.8netbeans-plugins

Netbeans - *Easy* way to tell which Netbeans project a file belongs to


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.


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)