jetbrains ide – PhpStorm: how to Make the inspector / debugger ignore stuff in comments?

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.

www.jetbrains.com/help/phpstorm/spellchecking.html#configure-the-typo-inspection

enter image description here

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

enter image description here

… or/and configure what rules to use (on a Rules tab): www.jetbrains.com/help/phpstorm/grammar.html#rules

enter image description here

In case if you need to configure too many of them, well… just disable the Grammar checks completely: Settings/Preferences | Editor | Inspections | Proofreading | Grammar

enter image description here

Read more here: Source link