plugin_compatibility.md: put CLion tab first, as AppCode is discontinued

This commit is contained in:
Yann Cébron 2023-11-07 17:22:30 +01:00
parent 88a601b7a5
commit 012170818c

View File

@ -105,50 +105,11 @@ A dependency on the Java plugin (Plugin ID `com.intellij.java`) must be setup us
The [AppCode and CLion code was restructured](https://blog.jetbrains.com/clion/2020/12/migration-guide-for-plugins-2020-3/) in version 2020.3.
This refactoring extracted some functionalities into specific modules for easier maintainability and reuse between AppCode/CLion and other JetBrains IDEs.
Consequently, [dependencies](plugin_dependencies.md) on AppCode and CLion functionalities are expressed differently in <path>plugin.xml</path> depending on the version of the AppCode/CLion Platform being targeted:
Consequently, [dependencies](plugin_dependencies.md) on [AppCode](app_code.md) and [CLion](clion.md) functionalities are expressed differently in <path>plugin.xml</path> depending on the version of the IDE being targeted:
<tabs>
<tab title="AppCode">
* Syntax for 2020.3 and later releases:
* <path>plugin.xml</path> (_allowable alternative_):
```xml
<depends>com.intellij.appcode</depends>
```
* Gradle build script (_required_):
<tabs group="languages">
<tab title="Kotlin" group-key="kotlin">
```kotlin
intellij {
plugins.set(listOf("com.intellij.appcode"))
}
```
</tab>
<tab title="Groovy" group-key="groovy">
```groovy
intellij {
plugins = ['com.intellij.appcode']
}
```
</tab>
</tabs>
* Syntax _required_ for releases prior to 2020.3, _allowable_ in all releases:
* <path>plugin.xml</path>:
```xml
<depends>com.intellij.modules.appcode</depends>
```
See also: [](app_code.md).
</tab>
<tab title="CLion">
* Syntax for 2020.3 and later releases:
@ -189,6 +150,48 @@ See also: [](app_code.md).
See also: [](clion.md).
</tab>
<tab title="AppCode">
* Syntax for 2020.3 and later releases:
* <path>plugin.xml</path> (_allowable alternative_):
```xml
<depends>com.intellij.appcode</depends>
```
* Gradle build script (_required_):
<tabs group="languages">
<tab title="Kotlin" group-key="kotlin">
```kotlin
intellij {
plugins.set(listOf("com.intellij.appcode"))
}
```
</tab>
<tab title="Groovy" group-key="groovy">
```groovy
intellij {
plugins = ['com.intellij.appcode']
}
```
</tab>
</tabs>
* Syntax _required_ for releases prior to 2020.3, _allowable_ in all releases:
* <path>plugin.xml</path>:
```xml
<depends>com.intellij.modules.appcode</depends>
```
See also: [](app_code.md).
</tab>
</tabs>
## Exploring Module and Plugin APIs