Is there a way to mark whole line on error

Hi all,

First, bit of background:

We are using Intellij IDEA in our company as main IDE for Javascript development, and we love the JSHint integration.

Sublime Text has this option to mark whole line when you have error on it

Screen Shot 2013-04-11 at 8.23.46 PM.png

But in IDEA, default colors are like this

Screen Shot 2013-04-11 at 8.36.39 PM.png

so you can see that eval has only e underlined.

We tried to make it bit more prominent, like this:

Screen Shot 2013-04-11 at 8.37.44 PM.png

but that also can be hard to notice in dense code.

So can we somehow setup IDEA to underline the whole line where error occured?

If not, i think this feature would be nice to have.


Comment actions Permalink

Hi Dragan,

Thanks for the feedback.
No, it's impossible in iDEA to make whole line with error underlined.
Error presentation of Sublime Text is prominent indeed. But such presentation isn't contextual. If there are a lot of errors code will look not so nice - all inside borders.

Personally I liked your error presentation when symbol's background is filled with red color.

Maybe, it's possible to highlight more than one character. I've created
Comment actions Permalink

Also, there is feedback from two coleagues of mine, and they are almost fully colorblind:

they find errors in stripe mark almost unusable because they can't distinguish them from green varnings fro undefined propertes, which are sometims
present there when we use object which we got trough ajax, so its perfectly normal that idea can't know all his properties.


also im glad you liked my color settings, if someone else wants to use this:

- scheme  - solarized dark  ( )
- drakula  theme

- settings:

Screen Shot 2013-04-12 at 11.44.42 PM.png

and sometimes errors do look prominent:

Screen Shot 2013-04-12 at 11.48.59 PM.png

for example duplicate volcano_negative you can spot right out, but missing coma might pass your eye in cluttered code,
but if the whole line was underlined / marked that marker wouldnt dissapear until you fix both errors.

Thanks for quick feedback!


Please sign in to leave a comment.