feat: 0.0.1发布
This commit is contained in:
parent
30ec0c2c3f
commit
d745aaff9f
gradle.properties
src
main
kotlin/com/github/cirry/wxreaderjetbrainsplugin
resources/META-INF
test/kotlin/com/github/cirry/wxreaderjetbrainsplugin
@ -1,23 +1,23 @@
|
|||||||
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
|
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
|
||||||
kotlin.options.encoding=UTF-8
|
kotlin.options.encoding=UTF-8
|
||||||
|
|
||||||
pluginGroup = com.github.cirry.wxreaderjetbrainsplugin
|
pluginGroup = com.github.cirry.wereadjetbrainsplugin
|
||||||
pluginName = Weread
|
pluginName = Weread
|
||||||
pluginRepositoryUrl = https://github.com/cirry/wxreader-Jetbrains-Plugin
|
pluginRepositoryUrl = https://github.com/cirry/wxreader-Jetbrains-Plugin
|
||||||
# SemVer format -> https://semver.org
|
# SemVer format -> https://semver.org
|
||||||
pluginVersion = 0.0.2
|
pluginVersion = 0.0.1
|
||||||
|
|
||||||
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
|
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
|
||||||
pluginSinceBuild = 223
|
pluginSinceBuild = 223
|
||||||
pluginUntilBuild = 233.*
|
pluginUntilBuild = 233.*
|
||||||
|
|
||||||
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
|
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
|
||||||
platformType = IU
|
platformType = IC
|
||||||
platformVersion = 2023.3.2
|
platformVersion = 2022.3
|
||||||
|
|
||||||
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
|
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
|
||||||
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
|
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
|
||||||
platformPlugins = JavaScript
|
platformPlugins =
|
||||||
|
|
||||||
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
# Gradle Releases -> https://github.com/gradle/gradle/releases
|
||||||
gradleVersion = 8.5
|
gradleVersion = 8.5
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin
|
package com.github.cirry.wereadjetbrainsplugin
|
||||||
|
|
||||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||||
import com.intellij.openapi.actionSystem.PlatformDataKeys
|
import com.intellij.openapi.actionSystem.PlatformDataKeys
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin
|
package com.github.cirry.wereadjetbrainsplugin
|
||||||
|
|
||||||
import com.intellij.DynamicBundle
|
import com.intellij.DynamicBundle
|
||||||
import org.jetbrains.annotations.NonNls
|
import org.jetbrains.annotations.NonNls
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin.listeners
|
package com.github.cirry.wereadjetbrainsplugin.listeners
|
||||||
|
|
||||||
import com.intellij.openapi.application.ApplicationActivationListener
|
import com.intellij.openapi.application.ApplicationActivationListener
|
||||||
import com.intellij.openapi.diagnostic.thisLogger
|
import com.intellij.openapi.diagnostic.thisLogger
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin.services
|
package com.github.cirry.wereadjetbrainsplugin.services
|
||||||
|
|
||||||
import com.intellij.openapi.components.Service
|
import com.intellij.openapi.components.Service
|
||||||
import com.intellij.openapi.diagnostic.thisLogger
|
import com.intellij.openapi.diagnostic.thisLogger
|
||||||
import com.intellij.openapi.project.Project
|
import com.intellij.openapi.project.Project
|
||||||
import com.github.cirry.wxreaderjetbrainsplugin.MyBundle
|
import com.github.cirry.wereadjetbrainsplugin.MyBundle
|
||||||
|
|
||||||
@Service(Service.Level.PROJECT)
|
@Service(Service.Level.PROJECT)
|
||||||
class MyProjectService(project: Project) {
|
class MyProjectService(project: Project) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin.toolWindow
|
package com.github.cirry.wereadjetbrainsplugin.toolWindow
|
||||||
|
|
||||||
import com.github.cirry.wxreaderjetbrainsplugin.MyBundle
|
import com.github.cirry.wereadjetbrainsplugin.MyBundle
|
||||||
import com.intellij.openapi.project.Project
|
import com.intellij.openapi.project.Project
|
||||||
import com.intellij.openapi.wm.ToolWindow
|
import com.intellij.openapi.wm.ToolWindow
|
||||||
import com.intellij.openapi.wm.ToolWindowFactory
|
import com.intellij.openapi.wm.ToolWindowFactory
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
|
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
|
||||||
<idea-plugin>
|
<idea-plugin>
|
||||||
<id>com.github.cirry.wxreaderjetbrainsplugin</id>
|
<id>com.github.cirry.wereadjetbrainsplugin</id>
|
||||||
|
|
||||||
<name>Weread</name>
|
<name>Weread</name>
|
||||||
|
|
||||||
@ -11,11 +11,11 @@
|
|||||||
<resource-bundle>messages.MyBundle</resource-bundle>
|
<resource-bundle>messages.MyBundle</resource-bundle>
|
||||||
|
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
<toolWindow factoryClass="com.github.cirry.wxreaderjetbrainsplugin.toolWindow.MyToolWindowFactory" icon="/icons/toolWindowIcon.svg" id="WeRead"/>
|
<toolWindow factoryClass="com.github.cirry.wereadjetbrainsplugin.toolWindow.MyToolWindowFactory" icon="/icons/toolWindowIcon.svg" id="WeRead"/>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
||||||
<applicationListeners>
|
<applicationListeners>
|
||||||
<listener class="com.github.cirry.wxreaderjetbrainsplugin.listeners.MyApplicationActivationListener" topic="com.intellij.openapi.application.ApplicationActivationListener"/>
|
<listener class="com.github.cirry.wereadjetbrainsplugin.listeners.MyApplicationActivationListener" topic="com.intellij.openapi.application.ApplicationActivationListener"/>
|
||||||
</applicationListeners>
|
</applicationListeners>
|
||||||
<actions>
|
<actions>
|
||||||
</actions>
|
</actions>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.cirry.wxreaderjetbrainsplugin
|
package com.github.cirry.wereadjetbrainsplugin
|
||||||
|
|
||||||
import com.intellij.ide.highlighter.XmlFileType
|
import com.intellij.ide.highlighter.XmlFileType
|
||||||
import com.intellij.openapi.components.service
|
import com.intellij.openapi.components.service
|
||||||
@ -6,7 +6,7 @@ import com.intellij.psi.xml.XmlFile
|
|||||||
import com.intellij.testFramework.TestDataPath
|
import com.intellij.testFramework.TestDataPath
|
||||||
import com.intellij.testFramework.fixtures.BasePlatformTestCase
|
import com.intellij.testFramework.fixtures.BasePlatformTestCase
|
||||||
import com.intellij.util.PsiErrorElementUtil
|
import com.intellij.util.PsiErrorElementUtil
|
||||||
import com.github.cirry.wxreaderjetbrainsplugin.services.MyProjectService
|
import com.github.cirry.wereadjetbrainsplugin.services.MyProjectService
|
||||||
|
|
||||||
@TestDataPath("\$CONTENT_ROOT/src/test/testData")
|
@TestDataPath("\$CONTENT_ROOT/src/test/testData")
|
||||||
class MyPluginTest : BasePlatformTestCase() {
|
class MyPluginTest : BasePlatformTestCase() {
|
||||||
|
Loading…
Reference in New Issue
Block a user