Eclipse Syntax Coloring Not Showing Correctly - eclipse

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.

Related

Netbeans 8.2 wont apply themes

For some reason, Netbeans IDE 8.2 won't apply any different themes than the original one. Has anyone else had an issue with this? I have applied the new theme and restarted the application many times without success. Thank you.
It's very hard to identify what is wrong since everything in your screenshot looks perfect, and Sublime-Theme works for me using NetBeans 8.2 on Windows 10. See the file with the tab NewServlet.java in the screen shot below.
Note that using Sublime-Theme does not impact everything. For example, the Projects and Navigator panels don't change. Since your screen shot only showed the Options window, and the Start Page doesn't change in the editor either, are you absolutely certain that none of your files in the editor are using Sublime-Theme?
Also, you say that "Netbeans IDE 8.2 won't apply any different themes than the original one", but NetBeans comes bundled with several themes, such as NetBeans and NetBeans 5.5 as shown in the screen shot below. How many options are shown in the profile drop list for you? If you select a different theme from the Profile list and click Apply the rendering of your files in the editor should change immediately. Is that happening?
If so, the problem is probably confined to the installation of Sublime-Theme. Try deleting Sublime-Theme (the button is in the top right corner of your screen shot), and then import the zip file again to see if that fixes the problem. Also, verify that the Sublime-Theme zip file you downloaded can be manually unzipped since it might be a corrupt file.
Another thing to try is using some alternative plugins. Select Tools -> Plugins -> Available Plugins and then install Dark Look and Feel Themes and Darcula LAF for NetBeans. If those don't work either then there is something fundamentally wrong with the installation of NetBeans.
Finally, this article titled The complete guide to tuning the appearance of NetBeans may be helpful.

Eclipse layout changes

I recently installed new C/C++ software plugins for Eclipse. After restart, the perspective changed. I didn't like the new colors and stuff, so I got rid of it via Preferences->General->Appereance->Restore Defaults.
There's only one thing left thats bugging me, it's really a minor issue but nevertheless I'd like to have it fixed. The project explorer went kinda smooth and round, before the changes it was edgy. Same with the tabs. Searched the web, couldn't find an answer. Anyone?
Here's a picture
Toggle this setting within General Preferences:

Eclipse Text Editor text is highlighted in green?

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

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.