change in colour of highlights does not stick - pydev

I am trying to change the colour of the highlights of occurrences, as described here.
I can do this, and it works. However, when I restart LiClipse (on osx 10.9.3, liclipse v0.99), the previous colour is back.
I tried changing the permissions on /Applications/liclipse, but this did not help. -- what else could I do?

LiClipse manages the color scheme itself.
So, if you want you can use it to change the colors (preferences > appearance > color theme > edit theme > occurrenceIndication).
Now, if you want to manage those yourself after the initial LiClipse set, in preferences > appearance > color theme you can change 'reapply settings on restart' to 'dont reapply settings on restart.

Related

In Eclipse, how do you change the foreground and background color in the default text editor for plain text files with no file extension?

In Eclipse for C/C++, how do you change the foreground and background color in the default text editor for plain text files, that is, files with no file extension?
I tried going to window > preferences > general > editors > text editors > appearance color options.
Here it says foreground color and background color, and after hitting 'apply', the color of the text changes briefly, but returns to default as soon as you close the 'preferences' window.
The other thing I tried is to set file associations and try to set a different internal editor as the default for plain files. However it seems to only work for files that have an extension.
I often have to deal with existing files in a repository that are actually bash scripts, but the files have no extension. It is annoying then to not even be able to configure the settings of the editor. If I can't find a solution for this, it looks like I either have to 'embrace the suck' or use a different editor outside of Eclipse.
I'm working on Kubuntu 2020-04 with Eclipse 2020-06 and using the dark theme.
It looks like the same problem as here, but I couldn't find any satisfying solution. The problem was reported there on 2020-01-03, so it actually predates my Eclipse version.
Thanks to #howlger for suggesting to upgrade. After upgrading to Eclipse version 2020-12, the first method I mentioned in the question works, that is, going to window > preferences > general > editors > text editors > appearance color options. Here you can change the foreground color and background color and it will actually stay the color you selected.

eclipse dark theme cannot show the tab property

when using eclipse Dark Theme, some tab is very difficult to see its content as it show all white as below (the red highlighted), any method to prevent it?
These colors can be configured and are not the default colors of the dark theme. This misconfiguration could have been done manually or happened by installing or using a third-party plug-in.
You can see if it is a misconfiguration by switching to a new workspace without copying the settings.
In this case, go to Window > Preferences: General > Appearance > Colors and Fonts edit the color in View and Editor Folders or hit Restore Defaults.
go to Window > Preferences > Appearance
-there you can select dark background
-click on "Apply and Close"
now to get the tabs working go to Window > Preferences > Appearance > Colors and Fonts
edit the following and set to color black
-Active (no focus), selected part foreground
-Active selected part foreground
-Inactive, selective part foreground
-click on "Apply and Close"

How to revert this thing in Eclipse?

I changed the theme of my Eclipse and now when hovering a method/anything the background of the container is black, and nothing cant be read about the method.
Check this :
In Window > Preferences: General > Appearance > Colors and Fonts change the color Basic > Information background color.

Eclipse Background Color will not change OSX, Pydev

Please read before marking as duplicate, I have searched for an answer to my specific issue for a long time and have not found one.
My Eclipse (Luna 4.4.1) IDE refuses to change the background color for the text editor. Please see the screenshot. It seems to be black when the IDE starts, then after a few seconds it switches to white.
I have tried (with restarts of the program between changes):
Eclipse > Preferences > General > Appearance (Set to Dark or Moonrise)
Eclipse >
Preferences > General > Appearance > Color Theme (Tried many dark themes)
Eclipse > Preferences > General > Editors > Text Editors > (Background Color => Black)
I'm using the PyDev Pluggin, but I've also tried switching to Java and other perspectives and have the same problem. I've tried installing the Moonrise theme, and uninstalling and reinstalling the same as well as the Eclipse Color Theme plugin as well.
Has anyone seen this before and figured out a solution?
Updated:
If I change the IDE to the Java perspective and open a Java file I still have the annoying white background, but in a slightly different way:
I have uninstalled the moonrise theme and I am just using the Dark Theme here. I think this rules out Pydev influencing the colours and it must be something at the general editor level. Though again, I have set the background color to black for the general editor.
MAJOR UPDATE - The bug is somewhat reproducible
Ok, so I haven't solved the problem but I've figured out what's triggering it! When I open Window > Customize Perspective, the background switches to the correct black style and then stays that way until I restart the IDE. That's without me changing any settings, just the mere act of opening that dialog. But why?
I guess my answer to the this post How to change color of Editor in Eclipse works for you.
I think its because of Editbox plugin. Make EditBox Off then check. If not working uninstall EditBox then check.
Its because of conflicts between Editbox colour settings and eclipse theme settings.
From patchnotes, pydev seems to support the eclipse darktheme since 3.6.0 :
http://pydev.org/history_pydev.html
The PyDev editor supports the new dark theme in Eclipse 4.4 (so, when it's chosen the editor colors are properly updated).
I believe the pydev editor has his preferences, so if you want to edit colors for the editor, it might be under :
Window > preferences > PyDev > Editor
You can find some resources to customize the pydev editor (if still not answerint to eclipse dark theme) here : http://pydev.blogspot.fr/2009/07/creating-dark-theme-and-exporting-and.html
You can try disabling pydev editor through file type extension but not sure it will be a nice syntax coloring (window>preferences>pydev>editor>code style>filetypes)

Change variable hover window background while debugging on Eclipse

I've been changing thousands of different preferences on Eclipse and I still cannot change hover window background while debugging on Eclipse.
Here is a photo of the black background I want to change the color to: http://img208.imageshack.us/img208/7126/blackbackgrounds.png
Thanks in advance.
In Fedora 18 using KDE as desktop you have by default a oxygen-gtk for GTK applications.
You can also change the setting of this color under the following file:
/usr/share/themes/oxygen-gtk/gtk-2.0/kdeglobals
[Colors:Tooltip]
BackgroundNormal=
Hope this helps
Windows->Preferences.
Java->Editor->Appearance color options->Source hover background. I have check-box System default set and it is working fine for me.
For Fedora18 KDE, go to System Settings -> Application Appearance -> Color
Select the tab "Colors" and edit the entry "Tooltip Background"
If you're using gnome, change the system wide tooltip background color:
System > Preferences > Appearance
Theme > Customize…
Colors > Tooltips
(source)