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!
请先登录再写评论。
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.
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
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.
Awww! I think the user knows better what he wants to be validated!