I don’t need it telling me I spelled the word “danggit!” incorrectly. I just want it to ignore the comments.
You can configure where this “Typo” inspection should be applied at the following screen:
Settings/Preferences | Editor | Inspections | Proofreading | Typo.
Danggit, now i’m getting “The word ‘thru’ is informal. Consider replacing it with through.” I dont want to see this, especially in comments.
This is a different thing in action. This time it’s Grammar.
Settings/Preferences | Editor | Natural Languages | Grammar and Style — Here on a
Scopes tab you can configure the same. www.jetbrains.com/help/phpstorm/grammar.html#scope
… or/and configure what rules to use (on a
Rules tab): www.jetbrains.com/help/phpstorm/grammar.html#rules
In case if you need to configure too many of them, well… just disable the Grammar checks completely:
Settings/Preferences | Editor | Inspections | Proofreading | Grammar
Read more here: Source link