facebook

Configure color of deferred EL expressions in JSP editor?

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254008 Reply

    atolopko
    Member

    How can I configure the color of JSF EL expressions that use deferred syntax within my JSP editor?
    For example:

    <h:inputText id="name" value="#{bean.name}"/>

    The “#{bean.name}” text shows up in a dark color, which is almost
    invisible to me, due to my background being set to black. I cannot find a way
    to configure the foreground color of this content type in any of “{JSP, XML, HTML} styles” configuration
    windows in Eclipse’s Preferences dialog. I’ve read
    https://www.genuitec.com/forums/topic/xml-syntax-highlighting/#post-228095,
    but this doesn’t appear to have the information I need.

    thanks,
    @

    *** Date: Thu Jun 29 12:47:29 EST 2006

    *** System properties:
    OS=Linux
    OS version=2.6.16-gentoo-r3
    Java version=1.5.0_02

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /usr/local/eclipse/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    20001
    -vm
    /opt/SUNWappserver/jdk/bin/java

    #254069 Reply

    This color is currently set on following preference page: General->Editors->Test Editors/Foreground color

    I filed a bug report for adding a separate setting for this but it is unlikely we will add this feature this late on our M2 development cycle.

    #254181 Reply

    atolopko
    Member

    Thank you for the pointer, however “General->Editors->Text Editors/Foreground color” does not seem to affect the color of *deferred* EL expressions in the JSP editor. Note that deferred EL expressions “#{…}” have a color setting that is distinct from normal EL expressions “${…}”, and I can configure the color of normal EL expressions.

    thanks for any additional help,
    @

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Configure color of deferred EL expressions in JSP editor?

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