aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Error highlighting in Eclipse 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Error highlighting in Eclipse 3" Watch "Error highlighting in Eclipse 3" New topic
Author

Error highlighting in Eclipse 3

chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
Hi,
Can I see errors highlighted in the editing window? I don't mean syntax errors. Intellij does that, but it's not free.


Thanks,
Chandana
[ July 30, 2004: Message edited by: chandana sapparapu ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24168
    
  30

If you don't mean syntax errors, what kind of errors do you mean?


[Jess in Action][AskingGoodQuestions]
chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
I am sorry for posting a vague message.
Semantic errors.
Like
String a = 1;

I mean assigning an int to a String.

Also, could you please tell me if highlighting colors for JSP syntax is possible.

Thanks a lot.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

Chandana,
The example you posted is a syntax error. But I understand what you mean. You can have eclipse flag things like unused code or other common problems in the preferences.

You need a plugin like Lomboz for JSP support. Eclipse doesn't do it by default.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
hi Jeanne,
Thanks for your post. I have downloaded lomboz and syntax color highlighting works fine.

I did a lot of searching on the web, but I just couldn't find how to set syntax error highlighting(in Windows > preferences) what to set up and where to find it..

I would appreciate it if someone tells me how to set it up. I want to see errors in my file as well as on the right hand column, next to the vertical scrollbar.

Thank you so much.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

Chandana,
I'm not sure. I thought you got that for default. I see little red boxes on the right that correspond to the location of errors in the document. I also see circles with X's on the left bar that I can click on for more details.
chandana sapparapu
Ranch Hand

Joined: Sep 28, 2002
Posts: 63
Jeanne,
You are right. I guess I didn't install Eclipse correctly. I uninstalled everything and created my project again, now it works.

I appreciate your timely help very much.

Best,
Chandana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error highlighting in Eclipse 3
 
Similar Threads
Passed SCJP 6.0 with 84%
Books needed for clearing SCJP 1.6
SCJP book
Generics Question
SOS:differences of implementation of RMIC in Windows & Linux