Permanently show errors/warnings

已回答

I was wondering if there may be a config adjustment to show errors/warnings permanently, opposed to the default, where they are hidden in the scrollbar. I would like to display the errors right inside my code, the same way you can see them as you activate the code lens on scrollbar hover.

1

Hi there,

AFAIK there is no such option available ... and it's rather "user specific" in a sense that lots of people simply dislike to see extra stuff next to the code (people complaining on tooltips or even that small light bulb icon and here you wish to have "huge" error message)

Have a look at this existing ticket -- see if it suits your request. If not -- feel free to submit new Feature Request ticket.

https://youtrack.jetbrains.com/issue/IDEA-152006

 

P.S. Possible alternatives (not exactly .. but still something):

  1. Just increase visibility for the warnings/errors (change the color making it more visible). For Warning it will be "Settings/Preferences | Editor | Color Scheme | General | Errors and warnings | Warning"
  2. Use "Code | Inspect Code..." and run on current file -- it will show all found "issues" in separate tool window. Downside -- it needs to be re-run manually.
2

请先登录再写评论。