File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
kotlin/com/gmail/blueboxware/libgdxplugin/versions Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1+ ### 1.24.8
2+ * Fix [ #38 ] ( https://github.com/BlueBoxWare/LibGDXPlugin/issues/38 ) : IndexNotReadyException when loading non-libgdx project.
3+
14### 1.24.7
25* Fix [ #37 ] ( https://github.com/BlueBoxWare/LibGDXPlugin/issues/37 ) : Gutter Color display support for hexadecimal Color(int) constructor in Kotlin.
36* Fix "doing work on EDT" errors.
Original file line number Diff line number Diff line change 11pluginGroup = com.gmail.blueboxware
22pluginName = LibGDX Plugin
3- pluginVersion = 1.24.7
3+ pluginVersion = 1.24.8
44
55pluginSinceBuild = 232.6095.10
66pluginUntilBuild =
77
88# https://www.jetbrains.com/intellij-repository/snapshots/
99# https://www.jetbrains.com/intellij-repository/releases/
10+ # gradle printProductsReleases
1011pluginVerifierIdeVersions = 232.9921.47
1112
1213platformType = IC
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import com.gmail.blueboxware.libgdxplugin.utils.SkinTagsModificationTracker
44import com.gmail.blueboxware.libgdxplugin.utils.findClasses
55import com.gmail.blueboxware.libgdxplugin.utils.getLibraryInfoFromIdeaLibrary
66import com.intellij.openapi.Disposable
7+ import com.intellij.openapi.application.ApplicationManager
78import com.intellij.openapi.components.Service
89import com.intellij.openapi.diagnostic.Logger
910import com.intellij.openapi.project.DumbService
@@ -108,8 +109,11 @@ class VersionService(val project: Project) : Disposable {
108109 ?.let { usedVersions[Libraries .LIBGDX ] = it }
109110 }
110111 }
111-
112- DumbService .getInstance(project).runReadActionInSmartMode(runnable)
112+ if (ApplicationManager .getApplication().isUnitTestMode) {
113+ DumbService .getInstance(project).runReadActionInSmartMode(runnable)
114+ } else {
115+ DumbService .getInstance(project).smartInvokeLater(runnable)
116+ }
113117 }
114118
115119 if (isLibGDXProject()) {
Original file line number Diff line number Diff line change 3131
3232 <change-notes ><![CDATA[
3333 <ul>
34- <li>Fix 37: Gutter Color display support for hexadecimal Color(int) constructor in Kotlin.</li>
35- <li>Fix "doing work on EDT" errors.</li>
34+ <li>Fix 38: IndexNotReadyException</li>
3635 </ul>
3736 ]]>
3837 </change-notes >
You can’t perform that action at this time.
0 commit comments