diff --git a/README.md b/README.md
index e4bdd75..33e6a79 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
- [ ] Click the Watch button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes.
-A WeChat Reading plugin supporting IDEA.
+A WeChat Reading plugin support IDEA.
Full WeChat Reading functionality is available, allowing navigation using the arrow keys for reading. Please adjust the window to a suitable size before use.
@@ -26,7 +26,7 @@ Full WeChat Reading functionality is available, allowing navigation using the ar
- Using the IDE built-in plugin system:
- Settings/Preferences > Plugins > Marketplace > Search for "wxreader-Jetbrains-Plugin" >
+ Settings/Preferences > Plugins > Marketplace > Search for "WeRead-Jetbrains-Plugin" >
Install
- Manually:
diff --git a/gradle.properties b/gradle.properties
index 9a64b02..a6aa53b 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -5,7 +5,7 @@ pluginGroup = com.github.cirry.wereadjetbrainsplugin
pluginName = Weread
pluginRepositoryUrl = https://github.com/cirry/wxreader-Jetbrains-Plugin
# SemVer format -> https://semver.org
-pluginVersion = 0.0.1
+pluginVersion = 0.0.2
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
diff --git a/src/main/kotlin/com/github/cirry/wereadjetbrainsplugin/toolWindow/MyToolWindowFactory.kt b/src/main/kotlin/com/github/cirry/wereadjetbrainsplugin/toolWindow/MyToolWindowFactory.kt
index 6cd0fb8..ba5d2fb 100644
--- a/src/main/kotlin/com/github/cirry/wereadjetbrainsplugin/toolWindow/MyToolWindowFactory.kt
+++ b/src/main/kotlin/com/github/cirry/wereadjetbrainsplugin/toolWindow/MyToolWindowFactory.kt
@@ -20,14 +20,14 @@ class MyToolWindowFactory : ToolWindowFactory {
}
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
- val myToolWindow = MyToolWindow(toolWindow)
+ val myToolWindow = MyToolWindow()
val content = ContentFactory.getInstance().createContent(myToolWindow.getContent(), "", false)
toolWindow.contentManager.addContent(content)
}
override fun shouldBeAvailable(project: Project) = true
- class MyToolWindow(toolWindow: ToolWindow) {
+ class MyToolWindow() {
fun getContent() = JBPanel>().apply {
val noSupportLabel = JBLabel(MyBundle.message("noSupport"))
if (JBCefApp.isSupported()) {