Add spell checking to custom language plugin

Is there any extension that I can add to just get the "standard" spell checking functionality in my plugin?
I have found the extension point spellchecker.support but I'm not sure if that's the one I'm supposed to use and in that case, which class to choose.

1 comment

<spellchecker.support language="yourLanguageID" implementationClass="com.intellij.spellchecker.tokenizer.SpellcheckingStrategy"/>


This will get you spell checking of declaration names (if your declaration PSI elements implement PsiNameIdentifierOwner) and comments. If you need anything else such as string literals, you'll need to provide your own strategy class that extends SpellcheckingStrategy.
0

Please sign in to leave a comment.