Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Compiler errors not underlined in code
Compiler errors not underlined in code [message #945915] Mon, 15 October 2012 19:40 Go to next message
LudCtion11 A Zivi is currently offline LudCtion11 A ZiviFriend
Messages: 4
Registered: October 2012
Junior Member
Hi everyone,

I've recently upgraded to Juno. Now I'm experiencing strange and annoying issue. Compile errors are not shown underlined in the code, only in the left vertical ruler. I've checked in the annotations settings and it is set for errors and warnings to be underlined yet they aren't. Anyone has any ideas regarding this? I'm using the eclipse color plugin, although I doubt that this had anything to do with the issue since the errors aren't being underlined on the default color scheme as well.
Thanks in advance for any help.
Re: Compiler errors not underlined in code [message #946446 is a reply to message #945915] Tue, 16 October 2012 07:54 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 15.10.2012 21:51, LudCtion11 A Zivi wrote:
> Hi everyone,
>
> I've recently upgraded to Juno. Now I'm experiencing strange and
> annoying issue. Compile errors are not shown underlined in the code,
> only in the left vertical ruler. I've checked in the annotations
> settings and it is set for errors and warnings to be underlined yet
> they aren't. Anyone has any ideas regarding this? I'm using the
> eclipse color plugin, although I doubt that this had anything to do
> with the issue since the errors aren't being underlined on the default
> color scheme as well.
Please try without that plug-in. If that doesn't help, then check your
Java build path.

Dani
> Thanks in advance for any help.
Re: Compiler errors not underlined in code [message #946509 is a reply to message #946446] Tue, 16 October 2012 08:53 Go to previous messageGo to next message
LudCtion11 A Zivi is currently offline LudCtion11 A ZiviFriend
Messages: 4
Registered: October 2012
Junior Member
Thanks for your reply. I've restored the default color scheme, uninstalled eclipse color plugin, restarted eclipse and the issue is still present. It is not the problem with build path because the compiler sees the errors and warnings (it puts the icons on the left vertical bar) it "just" doesn't underline the lines in code. Forgot to mention that I'm experiencing the same issue in scala code...
Re: Compiler errors not underlined in code [message #946569 is a reply to message #946509] Tue, 16 October 2012 09:50 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 16.10.2012 10:53, LudCtion11 A Zivi wrote:
> Thanks for your reply. I've restored the default color scheme,
> uninstalled eclipse color plugin, restarted eclipse and the issue is
> still present. It is not the problem with build path because the
> compiler sees the errors and warnings (it puts the icons on the left
> vertical bar) it "just" doesn't underline the lines in code.
Just to clarify: you see this in the Java editor? If so, on the
'Annotations' preference page change to mark the problems e.g. as
'Highlighted' to see whether this makes a difference.

Dani
> Forgot to mention that I'm experiencing the same issue in scala code...
Re: Compiler errors not underlined in code [message #946617 is a reply to message #946569] Tue, 16 October 2012 10:45 Go to previous messageGo to next message
LudCtion11 A Zivi is currently offline LudCtion11 A ZiviFriend
Messages: 4
Registered: October 2012
Junior Member
This is strange. I already tried ti change the way errors are represented from "Native problem underline" to "Underline" and this didn't help. Now I tried Highlighted, Box and Dashed Box and everyone of them displays correctly. Only the "lines" ( Native problem underline, Underline and Squiggly line don't appear.
Re: Compiler errors not underlined in code [message #946650 is a reply to message #946617] Tue, 16 October 2012 11:17 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 16.10.2012 12:45, LudCtion11 A Zivi wrote:
> This is strange. I already tried ti change the way errors are
> represented from "Native problem underline" to "Underline" and this
> didn't help. Now I tried Highlighted, Box and Dashed Box and everyone
> of them displays correctly. Only the "lines" ( Native problem
> underline, Underline and Squiggly line don't appear.
This is indeed strange. I could understand that underline might not work
if not supported by your font but the squiggly line should work. If you
can reproduce this using
http://download.eclipse.org/eclipse/downloads/drops4/R-4.2.1-201209141800/
then please file a bug report against JDT Text with steps to reproduce
the problem.

Dani
Re: Compiler errors not underlined in code [message #947906 is a reply to message #946650] Wed, 17 October 2012 15:07 Go to previous messageGo to next message
LudCtion11 A Zivi is currently offline LudCtion11 A ZiviFriend
Messages: 4
Registered: October 2012
Junior Member
It seems that the problem is with my font (Pragmata TT). However I've used this font for a long time in previous Eclipse versions and never had this issue. Is this some kind of a regression?
Re: Compiler errors not underlined in code [message #947942 is a reply to message #947906] Wed, 17 October 2012 15:45 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 17.10.2012 17:07, LudCtion11 A Zivi wrote:
> It seems that the problem is with my font (Pragmata TT). However I've
> used this font for a long time in previous Eclipse versions and never
> had this issue. Is this some kind of a regression?
No idea. If you can reproduce the problem with the latest but not the
last version then you should file a bug against SWT with instructions
how/where to get the font that you're using.

Dani
Previous Topic:best IDE for Advanced java course
Next Topic:java swing designer
Goto Forum:
  


Current Time: Fri Apr 19 23:22:47 GMT 2024

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

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

Back to the top