Disable spell checking once

I've got some meaty base 64 strings that the spellchecker is grumbling about.  is it possible to to disable it once similar to the "Disable one with comment" functionality in Resharper?

1

No; you have to either add these strings to dictionary (action available on Alt+Enter), or disable spell checker in Settings | Editor | Inspections | Spelling | Typo

0

Ups... suppression seems to be available in some contexts - you can add

// noinspection SpellCheckingInspection 

comment above the word (can be done with Alt+Enter, Right, Suppress for statement)

 

Related feature request: https://youtrack.jetbrains.com/issue/WI-5111

1

In PhpStorm 2021.1.2 #PS-211.7142.44 from April 30, 2021 the option "Suppress for statement" isn't available - see the attached screenshot. In my case I would need it for the Google API key. I can only disable the spell check for the whole file but this is of course not what I want to do it.

What am I doing wrong?

 

1

请先登录再写评论。