The View | Context Info feature is supported for custom languages since IntelliJ IDEA 10.5. In order for it to work, you need to have a structure view implementation based on a
TreeBasedStructureViewBuilder, and additionally to provide an implementation of
DeclarationRangeHandler for your language and to register it in the
declarationRangeHandler extension point.
Spellchecking can be provided via EP
SpellcheckingStrategy) where you can return
Tokenizer to use, possibly depending on the passed in
EMPTY_TOKENIZER for no spellchecking).
New in 13: user-configurable reference injections can be provided via
referenceInjector extension point (
ReferenceInjector) (IntelliLang plugin required).