facebook

Color of equals symbol in HTML editor with dark background

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #220386 Reply

    bretts
    Member

    Hi,

    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

    #220401 Reply

    Riyad Kalla
    Member

    Brett,
    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).

    #220406 Reply

    bretts
    Member

    Thanks for your response. I look forward to 3.8.3.

    #220409 Reply

    I found a way to change the equal sign color…..

    Search the following files:
    xmlsourcecolors.xml – For XML
    jspsourcecolors.xml – For JSP
    htmlsourcecolors.xml – For HTML

    Open 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.

    #220412 Reply

    Oh, 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).

    #220414 Reply

    Riyad Kalla
    Member

    Wow, great tip newmyeclipseuser… I wasn’t even aware of that field.

    #220418 Reply

    Riyad Kalla
    Member

    newmyeclipseuser, 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?

    #220446 Reply

    No, 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.

    #223051 Reply

    bretts
    Member

    I just thougt id check back here and whinge that its still not fixed in 3.8.3. Me and my retinas thank newmyeclipseuser

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Color of equals symbol in HTML editor with dark background

You must be logged in to post in the forum log in