Eclipse Text Editor text is highlighted in green? - eclipse

I am experiencing a weird issue. My Eclipse editor is all green as shown in this photo here:
It's very strange because every time I restart my computer I still have this issue. Furthermore, when I check Preferences -> Restore Defaults, the issue is not fixed as my text editor settings are all set to default. Eclipse doesn't seem to say if there are any errors and I am not sure why this is happening. Any ideas on how to fix this?

I think you installed EditBox plugin. Either uninstall this plugin or disable it.
Check these posts
How to change color of Editor in Eclipse
Eclipse Background Color will not change OSX, Pydev
Remove code block highlighting from Eclipse

Related

Eclipse (4.14.0), changing the editor background colour

I had set the theme to Dark, and changed the editor background/foreground colours, but it did not work (only changed the line number background). So, I searched the web and found the existing question. But the answer was saying the same thing that I already had done.
Is the method changed? Why can't I set the editor background to complete black and the text to complete white?
This worked for me:
1. Launch Eclipse
2. Click on Help
3. Select Eclipse Marketplace
4. Open Popular tab
5. Select and install "Darkest Dark Theme with DevStyle CI 2019.9.16"
6. Wait for it to finish installation
7. Restart Eclipse
At this stage, eclipse should restart with options to tweak background colour to your desired theme
There seems to be a recent Eclipse bug.
There is a possibly duplicate question here which has at least one additional suggested workaround besides the other answer to this question.
For anyone still looking for this known bug in eclipse -> install the plugin that James Kufre mentioned, right know there is another version called:
Darkest Dark Theme with DevStyle 2022.6.13a.
This plugin fixes the bug. You can then basically choose the complete color scheme of eclipse. So not only the editor field, but also the menus and everything!

Eclipse color highlighting broken

I have an Eclipse theme installed through the color themes plugin. After solving some known issues, it does happen that sometimes the color highlighting breaks after a change in the code. For example:
Once this happens, I need to restart Eclipse. I have tested and it happens with at least some of the themes.
Is this happening to anybody else? I cannot find anything on the Internet about this specific issue.
So, finally, I found the answer, or at least a workaround to it.
The problem was that the source files were not properly openn by Eclipse. Even if they are in the workspace (set up through CMake), it is not OK to drag the files into the IDE. They have to be open from the project explorer.

How to prevent Eclipse from forgetting settings?

I am using Eclipse Luna on Mac OS and I've installed the Eclipse Color Theme plug-in. After choosing the color theme that I liked, I edit it under the Eclipse->Preferences->Java->Editor->Syntax Coloring, where I disable Bold for all syntax elements.
The thing is that, after I close and restart Eclipse, all the Syntax Coloring changes I've made were lost, and it's back with the old ones...
So, how can I prevent Eclipse from forgetting these settings?
As far as I know Eclipse saves every setting in the "workspace". If you switch workspaces your style wont save between workspaces. If you are in the same workspace, then I don't know why its not saving.

How to change the color styles in eclipse

I am using eclipse JUNO.
When the cursor goes over the variable name (in resource and debug perspective) the details of the variable name in displayed in a small window like a box..How to change the color of the window and its details..
In my case the color is actually in black background and white foreground.
Are you using Eclipse on Ubuntu? There this seems to be a common problem caused by default color settings of the operating system.
https://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity
https://askubuntu.com/questions/1620/how-to-fix-unreadable-tooltips-in-eclipse-helios
https://askubuntu.com/questions/45001/how-to-fix-black-tooltips-in-eclipse
I've tried Juno and the problem is still there. I believe it is a bug in Eclipse: unchecking "System Default" in Java > Editor > Source Hover background has no effect. Eclipse continues to use the system-provided colors even when changing the settings.
This seems to be a long-standing problem with Eclipse developers blaming Ubuntu.

Eclipse Syntax Coloring Not Showing Correctly

I have a bit of a problem with Eclipse. I haven't had any issues with this until now, so I'm willing to be it's some broken settings somewhere. What happened is I moved form Sublime Text 2 to Eclipse. (I REALLY wanted to stay, but couldn't.) I attempted to import the Sublime Text 2 theme into Eclipse, and it seemed to work. But I can make any changes to the settings for Javascript now.
I go to Preferences -> Javascript -> Syntax Coloring and put in all of the colors I want. It works just fine. I close Eclipse and open it and they're all gone. I go back to the preferences and the colors are still there, they're just not showing up. I change one color and it shows up. Close, reopen, repeat. I don't know what's wrong, but I just want the colors I put in to stay. What could possibly be causing this?
EDIT: Completely forgot. Running the latest version of Eclipse (20120614-1722) on Windows 7. I started with Eclipse for Java Developers and installed the Web Page Editor plugin.