annotator.md: note .kts step (IJSDK-1026)

This commit is contained in:
Yann Cébron 2021-02-16 09:47:00 +01:00
parent 86f953698b
commit 5b9f0bca76

View File

@ -24,6 +24,14 @@ intellij {
}
```
Or the following line in the project's `build.gradle.kts` file:
```kotlin
intellij {
setPlugins ("com.intellij.java")
}
```
## Define an Annotator
The `SimpleAnnotator` subclasses [`Annotator`](upsource:///platform/analysis-api/src/com/intellij/lang/annotation/Annotator.java).
Consider a literal string that starts with "simple:" as a prefix of a Simple Language key.