mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
cleanup example packages, namespaces and identifiers to use com.example/example.com (leftovers)
This commit is contained in:
parent
049a680c9e
commit
04581bbba4
@ -72,7 +72,7 @@ If the project uses [Gradle](gradle_build_system.md) with a Groovy build script
|
||||
<path>build.gradle</path>
|
||||
```groovy
|
||||
intellij {
|
||||
plugins = ['org.another.plugin:1.0']
|
||||
plugins = ['com.example.another-plugin:1.0']
|
||||
}
|
||||
```
|
||||
|
||||
@ -81,7 +81,7 @@ When using Kotlin build script, use `plugins.set()` within the `intellij` block,
|
||||
<path>build.gradle.kts</path>
|
||||
```kotlin
|
||||
intellij {
|
||||
plugins.set(listOf("org.another.plugin:1.0"))
|
||||
plugins.set(listOf("com.example.another-plugin:1.0"))
|
||||
}
|
||||
```
|
||||
|
||||
@ -123,7 +123,7 @@ In the <path>plugin.xml</path>, add a `<depends>` tag with the dependency plugin
|
||||
Continuing with the example from [Project Setup](#2-project-setup) above, the dependency declaration in <path>plugin.xml</path> would be:
|
||||
|
||||
```xml
|
||||
<depends>org.another.plugin</depends>
|
||||
<depends>com.example.another-plugin</depends>
|
||||
```
|
||||
|
||||
## Optional Plugin Dependencies
|
||||
|
@ -37,11 +37,11 @@ For the ReSharper part to pick these settings, the settings files should be avai
|
||||
- if the IntelliJ plugin id (the `<id>` element of the <path>plugin.xml</path>) includes a dot, then `backend-plugin-id` is the same as the IntelliJ plugin id;
|
||||
- otherwise, the `backend-plugin-id` is a concatenation of the IntelliJ plugin vendor name (the `<vendor>` element of the <path>plugin.xml</path>) and the IntelliJ plugin id.
|
||||
|
||||
For example, for a plugin with the following <path>plugin.xml</path> contents, the file <path>dotnet/Extensions/org.awesomeplugin/settings/templates.DotSettings</path> would be picked up:
|
||||
For example, for a plugin with the following <path>plugin.xml</path> contents, the file <path>dotnet/Extensions/com.example.awesomeplugin/settings/templates.DotSettings</path> would be picked up:
|
||||
|
||||
```xml
|
||||
<idea-plugin>
|
||||
<id>org.awesomeplugin</id>
|
||||
<id>com.example.awesomeplugin</id>
|
||||
<!-- ... -->
|
||||
</idea-plugin>
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user