Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Configuring inline problem markers to not display on errors
Configuring inline problem markers to not display on errors [message #1819554] Fri, 17 January 2020 09:32 Go to next message
Erik BrangsFriend
Messages: 32
Registered: February 2010
Member
Eclipse 4.14 added support to show problem markers inline in text editors ( mentioned in News & Noteworthy).

I tried them out for a bit and found that I'd really like to have them for warnings, e.g. when I'm cleaning up code.

However, the problem markers are also displayed for errors and this don't seem to play well with the incremental compilation and my development. Generally, errors are displayed while I'm still not finished with the part I'm working on. This is fine for markers on the side or in the problem view but with inline markers, it is very annoying for me.

Is there a way to get problem markers inline for warnings only? The options in the GUI don't support "warnings but no errors". I also tried to find a way to switch between "activate inline problem markers" and "deactivate inline markers" but I didn't find a matching hotkey in the keys view.
Re: Configuring inline problem markers to not display on errors [message #1819556 is a reply to message #1819554] Fri, 17 January 2020 09:39 Go to previous messageGo to next message
Noopur Gupta is currently offline Noopur GuptaFriend
Messages: 58
Registered: December 2012
Member
Please open an enhancement request for "Warnings only" in https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform
Re: Configuring inline problem markers to not display on errors [message #1819604 is a reply to message #1819556] Fri, 17 January 2020 22:39 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Is error/warning really the best possible distinction here?

What about this:
[x] don't show inline problem markers if code has syntax errors

Wouldn't that be closer to the intention of saying: don't distract me with markers of code that I know is still incomplete?
Re: Configuring inline problem markers to not display on errors [message #1819625 is a reply to message #1819604] Sat, 18 January 2020 19:26 Go to previous messageGo to next message
Erik BrangsFriend
Messages: 32
Registered: February 2010
Member
Thank you both. I've opened bug 559319.

Re: Configuring inline problem markers to not display on errors [message #1856713 is a reply to message #1819625] Fri, 23 December 2022 19:50 Go to previous message
Erik BrangsFriend
Messages: 32
Registered: February 2010
Member
In Eclipse 2022-12, there is a key bind to toggle inline problem markers. It is called "Toggle Code Mining" and not bound by default.
Previous Topic:Ctrl + Shift + T doesn't work
Next Topic:cannot get remote repository refs
Goto Forum:
  


Current Time: Thu Mar 28 21:33:18 GMT 2024

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

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

Back to the top