mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
android_studio.md: plugin.xml cleanup
This commit is contained in:
parent
704d4b8736
commit
f23b283a0d
@ -154,14 +154,10 @@ When using APIs from the Android plugin, declare a dependency:
|
|||||||
```
|
```
|
||||||
|
|
||||||
As discussed in the [Plugin Dependencies](plugin_compatibility.md#declaring-plugin-dependencies) section of this guide, a plugin's dependency on [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) must be declared in <path>[plugin.xml](plugin_configuration_file.md)</path>.
|
As discussed in the [Plugin Dependencies](plugin_compatibility.md#declaring-plugin-dependencies) section of this guide, a plugin's dependency on [Modules Specific to Functionality](plugin_compatibility.md#modules-specific-to-functionality) must be declared in <path>[plugin.xml](plugin_configuration_file.md)</path>.
|
||||||
When using Android Studio-specific features (APIs), a dependency on `com.intellij.modules.androidstudio` must be declared as shown in the code snippet below.
|
When using Android Studio-specific features (APIs), a dependency on `com.intellij.modules.androidstudio` must be declared.
|
||||||
|
|
||||||
Otherwise, if only general IntelliJ Platform features (APIs) are used, then a dependency on `com.intellij.modules.platform` must be declared as discussed in [Plugin Compatibility with IntelliJ Platform Products](plugin_compatibility.md).
|
Otherwise, if only general IntelliJ Platform features (APIs) are used, then a dependency on `com.intellij.modules.platform` must be declared as discussed in [Plugin Compatibility with IntelliJ Platform Products](plugin_compatibility.md).
|
||||||
|
|
||||||
```xml
|
|
||||||
<depends>com.intellij.modules.androidstudio</depends>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Android Specific Extension Points
|
## Android Specific Extension Points
|
||||||
|
|
||||||
See [](android_plugin_extension_point_list.md).
|
See [](android_plugin_extension_point_list.md).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user