From 5b9f0bca76536442b51d86a4baeaf0c0f3377cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 16 Feb 2021 09:47:00 +0100 Subject: [PATCH] annotator.md: note .kts step (IJSDK-1026) --- topics/tutorials/custom_language_support/annotator.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/topics/tutorials/custom_language_support/annotator.md b/topics/tutorials/custom_language_support/annotator.md index a0e3f7b65..42b95934e 100644 --- a/topics/tutorials/custom_language_support/annotator.md +++ b/topics/tutorials/custom_language_support/annotator.md @@ -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.