Child pages
  • Developing Custom Language Plugins for IntelliJ IDEA

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 spellchecker.support (SpellcheckingStrategy) where you can return Tokenizer to use, possibly depending on the passed in PsiElement (or EMPTY_TOKENIZER for no spellchecking).

New in 13: user-configurable reference injections can be provided via referenceInjector extension point (ReferenceInjector) (IntelliLang plugin required).

...