Custom Language Support
IntelliJ Platform is a powerful platform for building development tools targeting any language. Most of the IDE features consist of language-independent (provided by the platform) and language-specific parts. Supporting a particular feature for a new language can be achieved with a small amount of effort: a plugin must implement only the language-specific part.
Reference
This part of the documentation explains the main concepts of the Language API and walks through the sequence of steps that are usually required to develop a custom language plugin. Additional information about the Language API is available in the Javadoc comments for the Language API classes and from the Properties language support source code, which is part of the IntelliJ Platform source code.
Tutorial
For a full example instead of the detailed descriptions offered in this section, please check out a step-by-step tutorial on how to create custom language support for Simple Language: Custom Language Support Tutorial. Corresponding steps from the tutorial are linked under the " Example " section on each page of this reference.
The webinar How We Built Comma, the Raku IDE, on the IntelliJ Platform offers an excellent introduction as well.
Topics
Initial Setup
Resolving and Completion
Refactoring
Editor and IDE Features
Code Hierarchy
See Language Server Protocol (LSP) for supporting language servers.