In this tutorial we will add basic support for .properties language and it's usages within Java code.
We will generate parser and PSI elements using Grammar-Kit plugin. The lexer class will be generated with JFlex.
This a step-by-step tutorial and it requires performing every step.
- Prerequisites
- Language and File Type
- Grammar and Parser
- Lexer and Parser Definition
- Syntax Highlighter and Color Settings Page
- PSI Helpers and Utilities
- Annotator
- Line Marker Provider
- Completion Contributor
- Reference Contributor
- Find Usages Provider
- Folding Builder
- Go To Symbol Contributor
- Structure View Factory
- Formatter
- Code Style Settings
- Commenter
- Quick Fix
The final code can be found on GitHub.
| For additional information check out the official documentation. |
Labels:
None
Page:
Prerequisites
Page:
Language and File Type
Page:
Grammar and Parser
Page:
Lexer and Parser Definition
Page:
Syntax Highlighter and Color Settings Page
Page:
PSI Helpers and Utilities
Page:
Annotator
Page:
Line Marker Provider
Page:
Completion Contributor
Page:
Reference Contributor
Page:
Find Usages Provider
Page:
Folding Builder
Page:
Go To Symbol Contributor
Page:
Structure View Factory
Page:
Formatter
Page:
Code Style Settings
Page:
Commenter
Page:
Quick Fix
