mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
idea.md: add a section about using Kotlin plugin
This commit is contained in:
parent
1676f3aa85
commit
3211c78d4d
@ -63,11 +63,11 @@ See [](intellij_community_plugins_extension_point_list.md) for API from bundled
|
|||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
See [](plugin_compatibility.md#java) on how to use Java-specific functionality.
|
See [Java Plugin](plugin_compatibility.md#java) on how to use Java-specific functionality.
|
||||||
|
|
||||||
[PSI Cookbook](psi_cookbook.md#java-specific) lists a number of common operations for working with Java PSI.
|
[PSI Cookbook](psi_cookbook.md#java-specific) lists a number of common operations for working with Java PSI.
|
||||||
|
|
||||||
Depending on exact functionality, a plugin can also target [](uast.md) to support multiple JVM languages, including Java and Kotlin.
|
Depending on the exact functionality, a plugin can also target [](uast.md) to support multiple JVM languages, including Java and Kotlin.
|
||||||
|
|
||||||
Relevant Extension Points:
|
Relevant Extension Points:
|
||||||
|
|
||||||
@ -81,3 +81,9 @@ Relevant Extension Points:
|
|||||||
To use existing test base classes, add `TestFrameworkType.Plugin.Java` test-framework available from [](tools_intellij_platform_gradle_plugin_types.md#TestFrameworkType-Plugin).
|
To use existing test base classes, add `TestFrameworkType.Plugin.Java` test-framework available from [](tools_intellij_platform_gradle_plugin_types.md#TestFrameworkType-Plugin).
|
||||||
|
|
||||||
Alternatively, specify `com.jetbrains.intellij.java:java-test-framework:$VERSION$` as `testImplementation` dependency explicitly (see [IntelliJ Platform Artifacts Repositories](intellij_artifacts.md#gradle-example-for-an-individual-module-from-the-intellij-platform)).
|
Alternatively, specify `com.jetbrains.intellij.java:java-test-framework:$VERSION$` as `testImplementation` dependency explicitly (see [IntelliJ Platform Artifacts Repositories](intellij_artifacts.md#gradle-example-for-an-individual-module-from-the-intellij-platform)).
|
||||||
|
|
||||||
|
## Kotlin
|
||||||
|
|
||||||
|
Configure Kotlin [plugin dependency](plugin_dependencies.md) with plugin ID `org.jetbrains.kotlin`.
|
||||||
|
|
||||||
|
See also [UAST](uast.md) on how to support multiple JVM languages, including Kotlin.
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
|
|
||||||
This page describes developing plugins using the [Kotlin](https://kotlinlang.org) programming language.
|
This page describes developing plugins using the [Kotlin](https://kotlinlang.org) programming language.
|
||||||
|
|
||||||
> To implement a plugin _operating_ on Kotlin code ([PSI](psi.md)) in the IDE, configure Kotlin [plugin dependency](plugin_dependencies.md) (`org.jetbrains.kotlin`).
|
> To implement a plugin _operating_ on Kotlin code ([PSI](psi.md)) in the IDE, see [](idea.md#kotlin).
|
||||||
>
|
|
||||||
> See also [UAST](uast.md) on how to support multiple JVM languages, including Kotlin.
|
|
||||||
>
|
>
|
||||||
{title="Operating on Kotlin code"}
|
{title="Operating on Kotlin code"}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user