JS doc inspection I can't turn off

Hello,

There's an inspection in IntelliJ that shows a warning "Unresolved variable or type ..." in @param comments in JavaScript files.

I tried to turn off the checkbox of every single inspection in existance, but this one keeps showing up.

Also, when hovering over this one with the mouse, there's no "more" like other inspections have.

How can this one be turned off? It's showing a warning about something that isn't actually a problem in my code, and this in tons of places per file.

Thanks!

4 comments
Comment actions Permalink

This highlighting is produced by an annotator, not by an inspection, and is therefore not configurable. You're welcome to file a feature request to convert this into an inspection.

0
Comment actions Permalink

Or a feature to turn off annotators? :D

I mean, there are things parsing inside of comments, doing it wrong, and that cannot be turned off?! Shocking!

I guess the only good part of it is that it causes lots of short yellow warning lines on the right side of the document, making it easy to scroll to those places, since long lines don't allow this jumping anymore since version 11 :D

0
Comment actions Permalink

No. :) The difference between annotators and inspections is that annotators are meant for validating things that always need to be validated, and inspections are for things that need to be configurable.

0
Comment actions Permalink

Awww! I think the user knows better what he wants to be validated!

0

Please sign in to leave a comment.