Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error highlighting in Eclipse 3

 
chandana sapparapu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't mean syntax errors, what kind of errors do you mean?
 
chandana sapparapu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
chandana sapparapu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic