mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
ideaDirectory -> ideDirectory
This commit is contained in:
parent
c660f3513d
commit
97a87ec57b
@ -53,7 +53,7 @@ The snippet below is an example of configuring the Setup and Running DSLs in a `
|
||||
runIde {
|
||||
// Absolute path to installed target v3.5 Android Studio to use as IDE Development Instance
|
||||
// The "Contents" directory is macOS specific.
|
||||
ideaDirectory '/Applications/Android Studio.app/Contents'
|
||||
ideDirectory '/Applications/Android Studio.app/Contents'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -99,7 +99,7 @@ Use the Gradle plugin attribute `intellij.plugins` to declare a dependency.
|
||||
See the specific product pages in Part VIII for the _targetIDE_ plugin or module name.
|
||||
|
||||
The best practice is to modify the `runIde {}` task to use a local installation of _targetIDE_ as the [IDE Development Instance](/basics/ide_development_instance.md).
|
||||
Set the `runIde.ideaDirectory` attribute to the (user-specific) absolute path of the _targetIDE_ application.
|
||||
Set the `runIde.ideDirectory` attribute to the (user-specific) absolute path of the _targetIDE_ application.
|
||||
The exact path format varies by operating system.
|
||||
|
||||
This snippet is an example for configuring the Setup and Running DSLs in a `build.gradle` specific to developing a plugin for _targetIDE_.
|
||||
@ -117,7 +117,7 @@ This snippet is an example for configuring the Setup and Running DSLs in a `buil
|
||||
runIde {
|
||||
// Absolute path to the installed targetIDE to use as IDE Development Instance
|
||||
// Note the Contents directory must be added at the end of the path for macOS.
|
||||
ideaDirectory '/Users/<user name>/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/192.7142.41/PhpStorm.app/Contents'
|
||||
ideDirectory '/Users/<user name>/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-0/192.7142.41/PhpStorm.app/Contents'
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -15,7 +15,7 @@ The table below summarizes the `gradle-intellij-plugin` attributes to set in the
|
||||
| [`intellij.type`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#intellij-platform-properties) | `PY` for PyCharm Professional Edition, or `PC` for PyCharm Community Edition |
|
||||
| [`intellij.version`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#intellij-platform-properties) | Set to the targeted `PY` or `PC` version |
|
||||
| [`intellij.plugins`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#intellij-platform-properties) | No specific declaration is needed to use `PY` or `PC` APIs |
|
||||
| [`runIde.ideaDirectory`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#running-dsl) | Not needed; the Development Instance will automatically match `intellij.type` |
|
||||
| [`runIde.ideDirectory`](https://github.com/JetBrains/gradle-intellij-plugin/blob/master/README.md#running-dsl) | Not needed; the Development Instance will automatically match `intellij.type` |
|
||||
|
||||
The dependency on the PyCharm APIs must be declared in the `plugin.xml` file.
|
||||
As described in [Configuring the plugin.xml File](dev_alternate_products.md#configuring-pluginxml), the `<depends>` tags must declare `com.intellij.modules.python`.
|
||||
|
@ -61,7 +61,7 @@ Using the corresponding JetBrains Runtime is also the default, so for this use c
|
||||
|
||||
#### Running Against Alternate Versions and Types of IntelliJ Platform-Based IDEs
|
||||
The IntelliJ Platform IDE used for the Development Instance can be different from that used to build the plugin project.
|
||||
Setting the [Running DSL](https://github.com/JetBrains/gradle-intellij-plugin#running-dsl) attribute `runIde.ideaDirectory` will define an IDE to be used for the Development Instance.
|
||||
Setting the [Running DSL](https://github.com/JetBrains/gradle-intellij-plugin#running-dsl) attribute `runIde.ideDirectory` will define an IDE to be used for the Development Instance.
|
||||
This attribute is commonly used when running or debugging a plugin in an [alternate IntelliJ Platform-based IDE](/intro/intellij_platform.md#ides-based-on-the-intellij-platform).
|
||||
|
||||
#### Running Against Alternate Versions of the JetBrains Runtime
|
||||
|
Loading…
x
Reference in New Issue
Block a user