Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Syntax coloring for classes and interfaces
Syntax coloring for classes and interfaces [message #149310] Thu, 20 April 2006 00:13 Go to next message
Eclipse UserFriend
Originally posted by: eclnew.5.crassy.spamgourmet.com

Hi all!
I have a question concerning the syntax coloring proferences in Eclipse
(Window > Preferences > Java > Editor > Syntax Coloring). The example code
on the preference tab has a line that reads:
public int foo(Integer parameter) {
Now "Integer" is the name of a class and I want it to have a different
color, but none of the selections in the "Element:" box seems to be able
to accomplish that. I searched the group and found a post that referred to
"Class" and "Interface" elements, but there are no such entries in my
"Element:" box... Is it a bug or a feature? =)
Thanks!
Re: Syntax coloring for classes and interfaces [message #149326 is a reply to message #149310] Thu, 20 April 2006 08:20 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
Richard,

the semantic highlightings for Java types (classes, interfaces, enums,
annotations) are only available in the 3.2 stream - try out any recent
3.2 milestone and you should get them.

HTH, tom

Richard Berg wrote:
> Hi all!
> I have a question concerning the syntax coloring proferences in Eclipse
> (Window > Preferences > Java > Editor > Syntax Coloring). The example
> code on the preference tab has a line that reads:
> public int foo(Integer parameter) {
> Now "Integer" is the name of a class and I want it to have a different
> color, but none of the selections in the "Element:" box seems to be able
> to accomplish that. I searched the group and found a post that referred
> to "Class" and "Interface" elements, but there are no such entries in my
> "Element:" box... Is it a bug or a feature? =)
> Thanks!
>
Previous Topic:import org.eclipse.jface.text.* no good?
Next Topic:Multiple projects - one include directory
Goto Forum:
  


Current Time: Wed Apr 24 15:43:52 GMT 2024

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

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

Back to the top