The Artima Developer Community
Sponsored Link

Java Buzz Forum
Eclipse tip: Semantic highlighting

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vasanth Dharmaraj

Posts: 594
Nickname: vazz
Registered: Oct, 2003

Vasanth Dharmaraj is J2EE developer learning Dot Net
Eclipse tip: Semantic highlighting Posted: May 27, 2004 11:17 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vasanth Dharmaraj.
Original Post: Eclipse tip: Semantic highlighting
Feed Title: Vasanth Dharmaraj's Blogs
Feed URL: /SyndicationService.asmx/GetRssCategory?categoryName=Technology%7CJava
Feed Description: my thoughts on dot net, java, linux, formula one, xbox gamming...(my java category)
Latest Java Buzz Posts
Latest Java Buzz Posts by Vasanth Dharmaraj
Latest Posts From Vasanth Dharmaraj's Blogs

Advertisement

In Eclipse M9 there are more syntax highlighting options for the Java editor. The editor now understands code semantics like parameters, local variables, inherited method invocation… You can set different highlighting option for these. You can enable semantic highlighting by checking the 'Enable advanced highlighting' in Window>Preferences>Java>Editor>Syntax. The following are the new syntax highlighting options:

 Abstract method invocation
 Constants
 Fields
 Inherited method invocation
 Local variable declaration
 Local variable references
 Method decelerations
 Parameter variables
 Static fields
 Static method invocation

All this makes the java editor very colorful. :-) But once you get used to it, it helps to understand other people's code better. There is also an option to set the 'return' keyword to a different color form other keywords. This can be used to quickly spot all the exit points of a method. Plus now it is also possible to use italics in syntax highlighting.

Semantic highlighting

Eclipse tips from elsewhere:

Eclipse tip: The -keyring option Via [eclipsepowered]
Eclipse Tip: Startup Performance Via [Jesus M. Rodriguez's Weblog]

Plus check out the new eclipse wiki from the people who bring you the eclipse plugins site. Via [eclipsepowered]

Read: Eclipse tip: Semantic highlighting

Topic: [May 18, 2004 08:16 PDT] 7 Links Previous Topic   Next Topic Topic: Windows, Java, Linux, ...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use