mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
annotator.md: note .kts step (IJSDK-1026)
This commit is contained in:
parent
86f953698b
commit
5b9f0bca76
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user