Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse editor background color per project

Tags:

eclipse

Is there a setting or plugin to have a different background on a per-project-basis in Eclipse?

I sometimes have 3-5 projects open at the same time, for example a server, a webclient and a native client with similar filenames and I always have to look twice if I am in the right project.

If there were different background colors per project, I could navigate so much better.

Thank you!

like image 899
schube Avatar asked Jun 08 '18 14:06

schube


People also ask

How do I change the background color in Eclipse editor?

To change the color theme in your editor: Go to Window | Preferences | General | Appearance | Color Theme. The list of available Eclipse color themes is displayed.

How do I customize colors and Fonts in Eclipse preferences?

More color and font options can be configured by opening the preferences page, accessed from Window | Preferences, and selecting: General | Appearance | Colors and Fonts.

How do I change the highlight color in Eclipse?

If you're using eclipse with PHP package and want to change highlighted colour then there is slight difference to above answer. Go to General > Editors > Text Editors > Annotations. Now look for "PHP elements 'read' occurrences" and "PHP elements 'write' occurrences". You can select your desired colour there.

What color is Eclipse?

A: It is eclipse/Silver, It's more like deep blue-purple and light gray.


1 Answers

There is no way to set background color at the project level in Eclipse. You can confirm this yourself by examining the available options in Properties for any project.

However, there is an alternative approach:

  • Open Package Explorer and click the Link with Editor icon:

link1

  • Note that in the screen shot above the file App1.java is selected in the editor, and its node is also highlighted in Package Explorer.

  • Now select a different file in the editor. Note that the node for the selected file now automatically becomes the highlighted node in Package Explorer.

link2

I realize that you were asking for something else, but since that is not possible this is an alternative that might be better than nothing to help with navigation.

This is the Eclipse documentation for Link with Editor.

like image 88
skomisa Avatar answered Oct 06 '22 17:10

skomisa