mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
IJSDK-675
This commit is contained in:
parent
9d8cc1abbf
commit
e4bee960df
@ -232,7 +232,7 @@
|
||||
* [Developing for Multiple Products](products/dev_alternate_products.md)
|
||||
* [Compatibility with Multiple Products](basics/getting_started/plugin_compatibility.md)
|
||||
* [Android Studio](products/android_studio.md)
|
||||
* AppCode
|
||||
* [AppCode](products/app_code.md)
|
||||
* [CLion](products/clion.md)
|
||||
* [DataGrip](products/data_grip.md)
|
||||
* [GoLand](products/goland.md)
|
||||
|
26
products/app_code.md
Normal file
26
products/app_code.md
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
title: AppCode Plugin Development
|
||||
---
|
||||
|
||||
## Introduction
|
||||
Plugin projects targeting AppCode can be developed using IntelliJ IDEA with the `gradle-intellij-plugin`.
|
||||
|
||||
## Configuring Plugin Projects Targeting AppCode
|
||||
The Gradle configuration of AppCode plugin projects uses neither Product-Specific nor IntelliJ IDEA Attributes.
|
||||
Instead, configure AppCode plugin projects to use the `intellij.localPath` attribute.
|
||||
|
||||
> **Note** AppCode plugin development requires installing AppCode locally.
|
||||
|
||||
The table below summarizes the `gradle-intellij-plugin` attributes to set in the `build.gradle` file:
|
||||
|
||||
| `gradle-intellij-plugin` Attribute | Attribute Value |
|
||||
|-----------|-------|
|
||||
| [`intellij.localPath`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#intellij-platform-properties) | Path to locally installed target version of AppCode. For example, for macOS:<br>`/Users/<user name>/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents` |
|
||||
| [`runIde.ideaDirectory`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#running-dsl) | Path to locally installed target version of AppCode. For example, for macOS:<br>`/Users/<user name>/Library/Application Support/JetBrains/Toolbox/apps/AppCode/ch-0/193.5662.55/AppCode.app/Contents` |
|
||||
|
||||
The dependency on the AppCode APIs must be declared in the `plugin.xml` file.
|
||||
As described in [Modules Specific to Functionality](/basics/getting_started/plugin_compatibility.md#modules-specific-to-functionality) table, the `<depends>` tags must declare `com.intellij.modules.appcode`.
|
||||
|
||||
## Available AppCode APIs
|
||||
Use the [Exploring APIs as a Consumer](/basics/getting_started/plugin_compatibility.html#exploring-apis-as-a-consumer) process to identify the libraries in AppCode.
|
||||
Test your plugin with any version of AppCode you wish to support.
|
Loading…
x
Reference in New Issue
Block a user