When working on several files from multiple projects, it is hard to tell at a glance to which project each editor belongs.

Sometimes you might even have multiple editors with the same title (for example when each project is a different revision of the same design) which is particularly confusing.

../../_images/project_colors_before.png

Go to menu Window > Preferences then DVT and check Color editor icons per project and project labels.

../../_images/project_colors_after.png

Now all editors belonging to the same project have icons of the same color. Furthermore, the project labels in the Project Explorer have the same color, serving as a quick color legend.

Tip

You can chose to color the project labels text or background in the Project Explorer

Tip

To change the default color of a project Right-click in the Project Explorer and go to Project > Change Color

Note

By default a project’s color is computed using a hash function on the project name. This way you will get the same color for a specific project name, even if you switch workspaces or computers for example.

Note

This feature only works with Eclipse 4.x.