Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Tag Highlighting
Tag Highlighting [message #629367] Tue, 28 September 2010 00:34 Go to next message
Mike Lewis is currently offline Mike LewisFriend
Messages: 1
Registered: September 2010
Junior Member
Hello,

I am new to Eclipse (downloaded and installed late last week) and have been spending the last couple of days customizing my preferences so everything is just right for my work environment. I've noticed that the editor will highlight opening and closing HTML tags with a different background color, but I can't seen to find a preference for changing that color.

I am using a darker background for coding on, which means lighter-colored text. As is now, the background of the tag name seems to be changing to a light gray when the cursor is placed inside it.

For example:

If I put my cursor in the opening row tag (<tr>), both it and the ending tag (</tr>) are highlighted with a different background color.

Since I have decided to color tag names a very light shade of blue, this obviously makes the text much harder to read. I would rather change it to something like a dark red if possible. This is not the same as highlighting matching opening and closing brackets/braces/parenthesis in my PHP code. (I found that setting just fine... It would seem to me that there appears to be two settings for generally the same concept... Does that mean it might be a preference unique to the HTML settings, etc.?)

Any help appreciated. Thanks in advance.

- Mike
Re: Tag Highlighting [message #629886 is a reply to message #629367] Wed, 29 September 2010 20:28 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 9/27/2010 8:34 PM, Mike Lewis wrote:
> Hello,
> I am new to Eclipse (downloaded and installed late last week) and have
> been spending the last couple of days customizing my preferences so
> everything is just right for my work environment. I've noticed that the
> editor will highlight opening and closing HTML tags with a different
> background color, but I can't seen to find a preference for changing
> that color.
> I am using a darker background for coding on, which means
> lighter-colored text. As is now, the background of the tag name seems to
> be changing to a light gray when the cursor is placed inside it.
> For example:
>
> If I put my cursor in the opening row tag (<tr>), both it and the ending
> tag (</tr>) are highlighted with a different background color.
> Since I have decided to color tag names a very light shade of blue, this
> obviously makes the text much harder to read. I would rather change it
> to something like a dark red if possible. This is not the same as
> highlighting matching opening and closing brackets/braces/parenthesis in
> my PHP code. (I found that setting just fine... It would seem to me that
> there appears to be two settings for generally the same concept... Does
> that mean it might be a preference unique to the HTML settings, etc.?)
>
> Any help appreciated. Thanks in advance.

You'll find it on the Annotations preference page, as "Matching Tags".

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:"Resource is out of sync", no Refresh on File menu
Next Topic:Code Assist for files on Remote Systems
Goto Forum:
  


Current Time: Fri Apr 19 00:20:53 GMT 2024

Powered by FUDForum. Page generated in 0.01996 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top