Syntax coloring of JSP Scripting elements

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of support-swapna support-swapna 3 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #320379
    Profile photo of nitsko
    nitsko
    Member

    Recently I switched from Eclipse to MyEclipse. So far so good, but there is a problem that is critical to be able to use my custom colors. I’m used to work with black background, and I was able to customize all kind of editors except for JSP Scripting elements. When I open Preferences -> My Eclipse -> Files and Editors -> JSP -> JSP Source -> Syntax Coloring -> Scripting Elements, the Foreground color customization is disabled. So if I change background color to black the text dissapears. Foreground color in General ->Editors ->Text Editors is set to white, background is set to black. Color settings work good for HTML and Javascript. Any help would be greatly appreciated

    #320388
    Profile photo of support-swapna
    support-swapna
    Moderator

    nitsko ,

    To change the Foreground color go to Window > Preferences > General > Editors > Text Editor > Appearance color options > Foreground color. Uncheck the System Default and choose the color of your choice.

    Let us know how this works for you.

    #320403
    Profile photo of nitsko
    nitsko
    Member

    Thank you for the response. I’ve already resolved the issue. All settings were correct, and everything works good. I just was misled by preview window for JSP Source, since it keeps showing scripting elements in black color, even when it’s set to white. After actually applying the settings on my source code I got exactly what I’ve expected to see – white text on black background

    #320413
    Profile photo of support-swapna
    support-swapna
    Moderator

    nitsko ,

    Glad that it is working.
    Do let us know if you have any issues.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Web Development (HTML, CSS, etc.)’ is closed to new topics and replies.