View on GitHub

Aesi adapter for IntelliJ

An Aesi adapter for IntelliJ.

Download this project as a .zip file Download this project as a tar.gz file

aesi-intellij / org.metaborg.paplj.syntaxhighlighting / AesiTokenTypeManager / <init>

<init>

AesiTokenTypeManager()

Tracks token types.

IntelliJ can’t handle too many token types. However, we’ll still need a different token type for each different style. This class returns a token type that matches the style, if found; otherwise, creates a new token type and stores it for re-use.

The token type manager is specific to a single language.