File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
kotlin/com/github/oldmegit/goframeidea/startup Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ pluginRepositoryUrl = https://github.com/oldme-git/goframe-idea
6
6
# SemVer format -> https://semver.org
7
7
pluginVersion =1.0.0-alpha
8
8
9
- # Supported build number ranges and IntelliJ Platform versions -> h ttps ://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10
- pluginSinceBuild = 223
9
+ # Supported build number ranges and IntelliJ Platform versions -> https ://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10
+ pluginSinceBuild = 222
11
11
pluginUntilBuild = 233.*
12
12
13
13
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
14
14
platformType = GO
15
- platformVersion = 2023.2.4
15
+ platformVersion = 2022.2
16
16
17
17
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
18
18
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ import com.intellij.openapi.progress.BackgroundTaskQueue
6
6
import com.intellij.openapi.progress.ProgressIndicator
7
7
import com.intellij.openapi.progress.Task
8
8
import com.intellij.openapi.project.Project
9
- import com.intellij.openapi.startup.ProjectActivity
9
+ import com.intellij.openapi.startup.StartupActivity
10
10
11
- class StartUp : ProjectActivity {
12
- override suspend fun execute (project : Project ) {
11
+ class StartUp : StartupActivity {
12
+ override fun runActivity (project : Project ) {
13
13
val task = BackgroundTaskQueue (project, Bundle .getMessage(" name" ))
14
14
task.run (object : Task .Backgroundable (project, Bundle .getMessage(" init" )) {
15
15
override fun run (indicator : ProgressIndicator ) {
Original file line number Diff line number Diff line change 1
1
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
2
- <idea-plugin >
2
+ <idea-plugin url = " https://github.com/oldme-git/GoFrame-Idea " >
3
3
<id >com.github.oldmegit.goframeidea</id >
4
4
<name >GoFrame Idea</name >
5
5
<
vendor email =
" [email protected] " >oldme-git</
vendor >
You can’t perform that action at this time.
0 commit comments