cleanup example packages, namespaces and identifiers to use com.example/example.com (leftovers)

This commit is contained in:
Karol Lewandowski 2022-03-18 11:51:20 +01:00
parent 049a680c9e
commit 04581bbba4
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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>
```