Community
Participate
Working Groups
Hovering over syntax error underline doesn't show the syntax error information. Please see the screenshots.
Created attachment 283125 [details] Syntax-2020-03.png
Created attachment 283126 [details] Syntax-2020-06
The same problem seems to there for all the highlighting including sonar violations. I had to enable annotations in ruler to read the sonar violation descriptions.
I've tried with this snippet: import java.util.logging.Logger; public class App { public static void main(String[] args) { Logger } } and can't reproduce. I'm using I20200528-0200. Which exact Eclipse version are you using?
(In reply to Andrey Loskutov from comment #4) > I've tried with this snippet: > > import java.util.logging.Logger; > public class App { > public static void main(String[] args) { > Logger > } > } > > and can't reproduce. I'm using I20200528-0200. Which exact Eclipse version > are you using? Build Id : I20200602-0510
I cna reproduce this but what error do you expect there? If you make it Logger.getAnonymousLogger(ff); Hovering underlined "ff" shows that ff can not be resolved.
(In reply to Gayan Perera from comment #5) > (In reply to Andrey Loskutov from comment #4) > > I've tried with this snippet: > > > > import java.util.logging.Logger; > > public class App { > > public static void main(String[] args) { > > Logger > > } > > } > > > > and can't reproduce. I'm using I20200528-0200. Which exact Eclipse version > > are you using? > > Build Id : I20200602-0510 Same here, I can't reproduce it also in a fresh new workspace.
(In reply to Sarika Sinha from comment #6) > I cna reproduce this but what error do you expect there? > If you make it > Logger.getAnonymousLogger(ff); > > Hovering underlined "ff" shows that ff can not be resolved. Here when u have just the Logger. A error icon is shown in annotations ruler. When i hover over that it shows syntax error descriptions. But if i hover over the underline error i get javadoc. Seems like the javadoc popup has more prio than the error popup.
(In reply to Sarika Sinha from comment #6) > I cna reproduce this but what error do you expect there? > If you make it > Logger.getAnonymousLogger(ff); > > Hovering underlined "ff" shows that ff can not be resolved. I tried the ff sample of yours. I dont get any popup hovering over ff as well. I will try to update last night build and see if it makes a difference
Ok, so I guess I was wrong when I said I could reproduce the bug. It shows me errors on hover. Please try with a new build and workspace.
Gayan, also try to reset hovers settings to default. Search for hover in the preference page to find the setting.
(In reply to Lars Vogel from comment #11) > Gayan, also try to reset hovers settings to default. Search for hover in the > preference page to find the setting. Just start with a new workspace and make sure you don't use Oomph.
With the latest build its working. We can close this issue.