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 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
Comment actions Permalink

< 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.

Please sign in to leave a comment.