mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Merge remote-tracking branch 'origin/main' into next
# Conflicts: # .github/ISSUE_TEMPLATE/bug_report.md
This commit is contained in:
commit
c8a9220a74
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# Prepare and publish the plugin to the Marketplace repository
|
# Prepare and publish the plugin to JetBrains Marketplace repository
|
||||||
release:
|
release:
|
||||||
name: Publish Plugin
|
name: Publish Plugin
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./gradlew patchChangelog --release-note="$CHANGELOG"
|
./gradlew patchChangelog --release-note="$CHANGELOG"
|
||||||
|
|
||||||
# Publish the plugin to the Marketplace
|
# Publish the plugin to JetBrains Marketplace
|
||||||
- name: Publish Plugin
|
- name: Publish Plugin
|
||||||
env:
|
env:
|
||||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||||
|
@ -102,7 +102,7 @@ The project-specific configuration file [`gradle.properties`][file:gradle.proper
|
|||||||
| Property name | Description |
|
| Property name | Description |
|
||||||
|-----------------------|-----------------------------------------------------------------------------------------------------------|
|
|-----------------------|-----------------------------------------------------------------------------------------------------------|
|
||||||
| `pluginGroup` | Package name - after *using* the template, this will be set to `com.github.username.repo`. |
|
| `pluginGroup` | Package name - after *using* the template, this will be set to `com.github.username.repo`. |
|
||||||
| `pluginName` | Plugin name displayed in the JetBrains Marketplace and the Plugins Repository. |
|
| `pluginName` | Plugin name displayed in JetBrains Marketplace. |
|
||||||
| `pluginRepositoryUrl` | Repository URL used for generating URLs by the [Gradle Changelog Plugin][gh:gradle-changelog-plugin] |
|
| `pluginRepositoryUrl` | Repository URL used for generating URLs by the [Gradle Changelog Plugin][gh:gradle-changelog-plugin] |
|
||||||
| `pluginVersion` | The current version of the plugin in [SemVer][semver] format. |
|
| `pluginVersion` | The current version of the plugin in [SemVer][semver] format. |
|
||||||
| `pluginSinceBuild` | The `since-build` attribute of the `<idea-version>` tag. |
|
| `pluginSinceBuild` | The `since-build` attribute of the `<idea-version>` tag. |
|
||||||
@ -536,9 +536,9 @@ That approach gives more possibilities for testing and debugging pre-releases, f
|
|||||||
- [IntelliJ Platform SDK Plugin SDK][docs]
|
- [IntelliJ Platform SDK Plugin SDK][docs]
|
||||||
- [Gradle IntelliJ Plugin Documentation][gh:gradle-intellij-plugin-docs]
|
- [Gradle IntelliJ Plugin Documentation][gh:gradle-intellij-plugin-docs]
|
||||||
- [IntelliJ Platform Explorer][jb:ipe]
|
- [IntelliJ Platform Explorer][jb:ipe]
|
||||||
- [Marketplace Quality Guidelines][jb:quality-guidelines]
|
- [JetBrains Marketplace Quality Guidelines][jb:quality-guidelines]
|
||||||
- [IntelliJ Platform UI Guidelines][jb:ui-guidelines]
|
- [IntelliJ Platform UI Guidelines][jb:ui-guidelines]
|
||||||
- [Marketplace Paid Plugins][jb:paid-plugins]
|
- [JetBrains Marketplace Paid Plugins][jb:paid-plugins]
|
||||||
- [Kotlin UI DSL][docs:kotlin-ui-dsl]
|
- [Kotlin UI DSL][docs:kotlin-ui-dsl]
|
||||||
- [IntelliJ SDK Code Samples][gh:code-samples]
|
- [IntelliJ SDK Code Samples][gh:code-samples]
|
||||||
- [JetBrains Platform Slack][jb:slack]
|
- [JetBrains Platform Slack][jb:slack]
|
||||||
|
11
src/main/kotlin/org/jetbrains/plugins/template/MyAction.kt
Normal file
11
src/main/kotlin/org/jetbrains/plugins/template/MyAction.kt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
package org.jetbrains.plugins.template
|
||||||
|
|
||||||
|
import com.intellij.openapi.actionSystem.AnAction
|
||||||
|
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||||
|
|
||||||
|
class MyAction : AnAction("My Action") {
|
||||||
|
override fun actionPerformed(p0: AnActionEvent) {
|
||||||
|
TODO("Not yet implemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -15,4 +15,10 @@
|
|||||||
<applicationListeners>
|
<applicationListeners>
|
||||||
<listener class="org.jetbrains.plugins.template.listeners.MyApplicationActivationListener" topic="com.intellij.openapi.application.ApplicationActivationListener"/>
|
<listener class="org.jetbrains.plugins.template.listeners.MyApplicationActivationListener" topic="com.intellij.openapi.application.ApplicationActivationListener"/>
|
||||||
</applicationListeners>
|
</applicationListeners>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
<action class="org.jetbrains.plugins.template.MyAction" id="MyAction">
|
||||||
|
<add-to-group group-id="StructureViewPopupMenu" />
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
</idea-plugin>
|
</idea-plugin>
|
||||||
|
Loading…
Reference in New Issue
Block a user