tools_intellij_platform_gradle_plugin.md: rename "Usage" to "Setup"

This commit is contained in:
Yann Cébron 2025-02-24 17:05:44 +01:00
parent 523ea3124d
commit 0176529f72
4 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> <!-- Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# IntelliJ Platform Gradle Plugin (2.x) # IntelliJ Platform Gradle Plugin (2.x)
@ -40,7 +40,7 @@ IntelliJ Platform Gradle Plugin 2.x requires the following *minimal* versions:
See <control>Gradle JVM</control> in <ui-path>Settings | Build, Execution, Deployment | Build Tools | Gradle</ui-path>. See <control>Gradle JVM</control> in <ui-path>Settings | Build, Execution, Deployment | Build Tools | Gradle</ui-path>.
## Usage ## Setup
> Note that the plugin has a new ID `org.jetbrains.intellij.platform`. > Note that the plugin has a new ID `org.jetbrains.intellij.platform`.
> >
@ -72,7 +72,7 @@ plugins {
If migrating from the [](tools_gradle_intellij_plugin.md), replace the old `org.jetbrains.intellij` identifier to `org.jetbrains.intellij.platform` and apply its latest `%intellij-platform-gradle-plugin-version%` version. If migrating from the [](tools_gradle_intellij_plugin.md), replace the old `org.jetbrains.intellij` identifier to `org.jetbrains.intellij.platform` and apply its latest `%intellij-platform-gradle-plugin-version%` version.
### Snapshot Release ### Using Snapshot Release
To use the latest snapshot version of this plugin, add the following to the Gradle Settings file: To use the latest snapshot version of this plugin, add the following to the Gradle Settings file:
@ -123,7 +123,7 @@ When working in a [](#multi-module-project-structure) it is required to use [](t
The [](tools_intellij_platform_gradle_plugin_plugins.md#settings) plugin (`org.jetbrains.intellij.platform.settings`) allows for adding plugin development related repositories right in the <path>settings.gradle.kts</path> file if project configuration involves [](#configuration.dependencyResolutionManagement). The [](tools_intellij_platform_gradle_plugin_plugins.md#settings) plugin (`org.jetbrains.intellij.platform.settings`) allows for adding plugin development related repositories right in the <path>settings.gradle.kts</path> file if project configuration involves [](#configuration.dependencyResolutionManagement).
### Attaching Sources ### Attaching Sources in the IDE
To attach IntelliJ Platform sources in the IDE, the <control>Download sources</control> setting has to be enabled in IDE versions 2023.2 and later. To attach IntelliJ Platform sources in the IDE, the <control>Download sources</control> setting has to be enabled in IDE versions 2023.2 and later.
This option respects the plugin's [](tools_intellij_platform_gradle_plugin_gradle_properties.md#downloadSources) property, which is enabled by default. This option respects the plugin's [](tools_intellij_platform_gradle_plugin_gradle_properties.md#downloadSources) property, which is enabled by default.

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> <!-- Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# IntelliJ Platform Extension # IntelliJ Platform Extension
@ -13,7 +13,7 @@ It consists of sections dedicated to the general Gradle plugin configuration, <p
## IntelliJ Platform ## IntelliJ Platform
{#intellijPlatform} {#intellijPlatform}
After the IntelliJ Platform Gradle Plugin is [applied](tools_intellij_platform_gradle_plugin.md#usage), the `intellijPlatform` extension can be used to configure the plugin and common settings of the provided tasks. After the IntelliJ Platform Gradle Plugin is [applied](tools_intellij_platform_gradle_plugin.md#setup), the `intellijPlatform` extension can be used to configure the plugin and common settings of the provided tasks.
**Example:** **Example:**

View File

@ -1,4 +1,4 @@
<!-- Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. --> <!-- Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
# IntelliJ Platform Testing Extension # IntelliJ Platform Testing Extension
@ -15,7 +15,7 @@ For each of the custom tasks, a dedicated sandbox is created to isolate them for
{#intellijPlatformTesting} {#intellijPlatformTesting}
After the IntelliJ Platform Gradle Plugin is [applied](tools_intellij_platform_gradle_plugin.md#usage), the `intellijPlatformTesting` extension can be used for registering new tasks to fulfil specific requirements of the project. After the IntelliJ Platform Gradle Plugin is [applied](tools_intellij_platform_gradle_plugin.md#setup), the `intellijPlatformTesting` extension can be used for registering new tasks to fulfil specific requirements of the project.
The extension exposes four `NamedDomainObjectContainers` which allow for creating new objects of given types. The extension exposes four `NamedDomainObjectContainers` which allow for creating new objects of given types.
Registering of a custom task which allows for adjusting the IntelliJ Platform type and version can be done by using one of the below containers, depending on the task purpose. Registering of a custom task which allows for adjusting the IntelliJ Platform type and version can be done by using one of the below containers, depending on the task purpose.

View File

@ -103,7 +103,7 @@ The <path>plugin.xml</path> configuration file must specify the dependency on th
### IDE Setup ### IDE Setup
Since 2024.2, LSP API sources are provided with the `IntelliJ IDEA Ultimate sources` artifact. Since 2024.2, LSP API sources are provided with the `IntelliJ IDEA Ultimate sources` artifact.
See [](tools_intellij_platform_gradle_plugin.md#attaching-sources) on how to enable downloading sources. See [](tools_intellij_platform_gradle_plugin.md#attaching-sources-in-the-ide) on how to enable downloading sources.
Then, use <ui-path>Navigate | Class...</ui-path> to open the `LspServerManager` class. Then, use <ui-path>Navigate | Class...</ui-path> to open the `LspServerManager` class.
In the opened editor, invoke <control>Download IntelliJ Platform sources</control> to download and attach sources. In the opened editor, invoke <control>Download IntelliJ Platform sources</control> to download and attach sources.