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 / AesiSyntaxHighlighter

AesiSyntaxHighlighter

class AesiSyntaxHighlighter : SyntaxHighlighterBase

Constructors

<init> AesiSyntaxHighlighter(lexer: Lexer)

Properties

BAD_CHARACTER val BAD_CHARACTER: TextAttributesKey
lexer val lexer: Lexer

Functions

getHighlightingLexer fun getHighlightingLexer(): Lexer
getTokenHighlights fun getTokenHighlights(tokenType: IElementType?): Array<TextAttributesKey>

Companion Object Functions

createScopeName fun createScopeName(prefix: String): String
createScopeStyle fun createScopeStyle(prefix: String, style: TextAttributesKey): Pair<String, Array<TextAttributesKey>>