How do I change the severity level of an inspection?

I have read https://www.jetbrains.com/webstorm/help/configuring-inspection-severities.html

But my Javascript inspection settings just don't offer that option! I just _can't_ change the severity level. That seems to be a bug? For inspections that are global I can do it, but all my Javascript inspections are restricted to a scope and all those don't offer changing the severity!

This is why I want to change it - maybe someone can help with *this* instead?

I'm stuck with a "weak warning" in one of my files -- and I have no idea what that warning is or where in the file, unlike for warnings and above there is zero indication in the GUI!

4 comments
Comment actions Permalink

Hi there,

I'm stuck with a "weak warning" in one of my files -- and I have no idea what that warning is or where in the file, unlike for warnings and above there is zero indication in the GUI!
  • Code | Inspect Code...
  • Choose current file
  • You should see the list of all issues in a file reported by applicable (currently enabled/configured) Inspections in separate tool window on the bottom.
  • Via standard Alt+Enter you should be able to reach options to edit/disable or even suppress that inspection if necessary


I'm using "should" because that's how it works for PHP in PhpStorm -- maybe for JavaScript it's a bit different (although it's unlikely)

0
Comment actions Permalink

I did that and the weak warning that was mentioned in the summary (top right corner of the code window, the tiny square) of "1 warning, 1 weak warning" was nowhere to be seen after I ran the inspections manually and that result tab popped up.

0
Comment actions Permalink

Which most likely means that old inspection results were stuck for some reason. No diea why.

Does it means that it's all good with that file now?

0
Comment actions Permalink

At the moment I can acount for the one warning I get - it's a WebStorm bug but at least it's not hidden.

0

Please sign in to leave a comment.