kotlin.md: link UAST

This commit is contained in:
Yann Cébron 2021-03-23 11:42:58 +01:00
parent 3cd5d9777f
commit 31f46a4808

View File

@ -98,7 +98,7 @@ There are many good resources for learning how to write build scripts for an Int
[covscript-intellij](https://github.com/covscript/covscript-intellij/blob/master/build.gradle.kts) or [covscript-intellij](https://github.com/covscript/covscript-intellij/blob/master/build.gradle.kts) or
[zig-intellij](https://github.com/ice1000/zig-intellij/blob/master/build.gradle.kts). [zig-intellij](https://github.com/ice1000/zig-intellij/blob/master/build.gradle.kts).
Additionally, explore IntelliJ Platform Explorer's [list of open-source plugins](https://jb.gg/ipe?buildSystem=gradle_kts) using Gradle KTS. Additionally, explore IntelliJ Platform Explorer's [list of open-source plugins](https://jb.gg/ipe?buildSystem=gradle_kts) using Gradle KTS
`build.gradle.kts` basically looks like: `build.gradle.kts` basically looks like:
@ -149,6 +149,8 @@ Using a GUI designer with Kotlin is currently [not supported](https://youtrack.j
If a plugin processes Kotlin code (e.g., providing inspections), it needs to add a dependency on the Kotlin plugin (Plugin ID `org.jetbrains.kotlin`) itself. If a plugin processes Kotlin code (e.g., providing inspections), it needs to add a dependency on the Kotlin plugin (Plugin ID `org.jetbrains.kotlin`) itself.
Please refer to [Plugin Dependencies](plugin_dependencies.md) for more information. Please refer to [Plugin Dependencies](plugin_dependencies.md) for more information.
Depending on exact functionality, a plugin can also target [UAST (Unified Abstract Syntax Tree)](uast.md) to support multiple JVM languages, including Java and Kotlin.
## Caution ## Caution
Plugins *must* use Kotlin classes to implement declarations in the [plugin configuration file](plugin_configuration_file.md). Plugins *must* use Kotlin classes to implement declarations in the [plugin configuration file](plugin_configuration_file.md).