- This topic has 8 replies, 3 voices, and was last updated 20 years, 3 months ago by
bretts.
-
AuthorPosts
-
brettsMemberHi,
What style preference affects equals symbols in the HTML / JSP editor? After trying all the preferences for all file types, I still cannot find it.
I prefer to use a dark background, particularly for Java code, but this problem is preventing me doing so ..
When the colours for the normal Java syntax are set for constrasting against a dark background, this also effects the syntax highlighting for embedded java code inside JSP pages. So, I set the background for JSP pages to be dark (affecting most MyEclipse editors), and reconfigured all of the styles with colours appropriate for a dark background. This is great, except for the equals symbol which remains black (very very near invisble).
Is this a bug or am I missing something?
Regards
Brett
Riyad KallaMemberBrett,
You aren’t missing anything, this is a frequently requested enhancement and we will try and provide a quick workaround for it in 3.8.3. Hang tight (another 2 weeks ETA).
brettsMemberThanks for your response. I look forward to 3.8.3.
newmyeclipseuserMemberI found a way to change the equal sign color…..
Search the following files:
xmlsourcecolors.xml – For XML
jspsourcecolors.xml – For JSP
htmlsourcecolors.xml – For HTMLOpen them in any text editor.
See if there is a line with the tag name like this:
<color name=”tagAttributeEquals”/>All you have to do is add the foreground and the background like the rest of the tags have.
Restart Eclipse and there you go.
BTW, I am using MyEclipse 3.8.2.
newmyeclipseuserMemberOh, BTW, I think what MyEclipse needs is a way to define the common Foreground color option. I can currently set the background color but not the foreground. And I have some VB Scripts embedded in my JSP page (don’t ask why) and they all disappear (black foreground with black background).
Riyad KallaMemberWow, great tip newmyeclipseuser… I wasn’t even aware of that field.
Riyad KallaMembernewmyeclipseuser, Did you create these color files? I cannot find them in our base MyEclipse install.
Maybe you have the WTP editors installed along side MyEclipse?
newmyeclipseuserMemberNo, those files are already there. They are under the eclipse workspace folder (.metadata\.plugins\com.ibm.sse.modelcom.ibm.sse.model). I don’t have the WTP installed. But one quick look at the MyEclipse plugins folder and I also found folder name such as “com.ibm.sse.editor.css_13.8.1” ans such.
brettsMemberI just thougt id check back here and whinge that its still not fixed in 3.8.3. Me and my retinas thank newmyeclipseuser
-
AuthorPosts