Skip to content

Syntax Highlighting

github-actions[bot] edited this page May 25, 2026 · 1 revision

type: component title: Syntax Highlighting created: '2026-05-25' updated: '2026-05-25' tags:


Syntax Highlighting

Custom syntax highlighting for all 4 HAnS languages.

Per-Language Factories + Annotators

Language Factory class Annotator class
FeatureModel FeatureModelSyntaxHighlighterFactory FeatureModelAnnotator
FileAnnotation FileAnnotationSyntaxHighlighterFactory FileAnnotationAnnotator
FolderAnnotation FolderAnnotationSyntaxHighlighterFactory FolderAnnotationAnnotator
CodeAnnotations CodeAnnotationsSyntaxHighlighterFactory CodeAnnotationAnnotator

All under se.isselab.HAnS.syntaxHighlighting.*.

Color Schemes

Scheme File
Darcula colorSchemes/HAnSDarcula.xml
Default (light) colorSchemes/HAnSDefault.xml

User-configurable via HansColorSettingsPage (Settings > Editor > Color Scheme > HAnS).

Related

Clone this wiki locally