backport: 24.0.1
This commit is contained in:
parent
db85b56084
commit
f41b0f2e3d
5 changed files with 7 additions and 7 deletions
|
@ -17,7 +17,7 @@ Changelog structure reference:
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [24.0.0]
|
## [24.0.1]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ class ZigDebuggerToolchainConfigurableUi : ZigDebuggerUiComponent {
|
||||||
row(ZigDebugBundle.message("settings.debugger.toolchain.debugger.label")) {
|
row(ZigDebugBundle.message("settings.debugger.toolchain.debugger.label")) {
|
||||||
comment = cell(debuggerKindComboBox)
|
comment = cell(debuggerKindComboBox)
|
||||||
.comment("", DEFAULT_COMMENT_WIDTH) {
|
.comment("", DEFAULT_COMMENT_WIDTH) {
|
||||||
zigCoroutineScope.launchWithEDT(ModalityState.any()) {
|
zigCoroutineScope.launchWithEDT(ModalityState.defaultModalityState()) {
|
||||||
withModalProgress(ModalTaskOwner.component(debuggerKindComboBox), "Downloading debugger", TaskCancellation.cancellable()) {
|
withModalProgress(ModalTaskOwner.component(debuggerKindComboBox), "Downloading debugger", TaskCancellation.cancellable()) {
|
||||||
downloadDebugger()
|
downloadDebugger()
|
||||||
}
|
}
|
||||||
|
@ -97,7 +97,7 @@ class ZigDebuggerToolchainConfigurableUi : ZigDebuggerUiComponent {
|
||||||
}
|
}
|
||||||
.applyToComponent {
|
.applyToComponent {
|
||||||
whenItemSelected(null) {
|
whenItemSelected(null) {
|
||||||
zigCoroutineScope.launchWithEDT(ModalityState.any()) {
|
zigCoroutineScope.launchWithEDT(ModalityState.defaultModalityState()) {
|
||||||
this@ZigDebuggerToolchainConfigurableUi.update()
|
this@ZigDebuggerToolchainConfigurableUi.update()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ class ZigDebuggerToolchainConfigurableUi : ZigDebuggerUiComponent {
|
||||||
cell(useClion)
|
cell(useClion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
zigCoroutineScope.launchWithEDT(ModalityState.any()) {
|
zigCoroutineScope.launchWithEDT(ModalityState.defaultModalityState()) {
|
||||||
update()
|
update()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@ class ZigProjectSettingsPanel(private val holder: ZigProjectConfigurationProvide
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun dispatchAutodetect(force: Boolean) {
|
private fun dispatchAutodetect(force: Boolean) {
|
||||||
project.zigCoroutineScope.launchWithEDT(ModalityState.any()) {
|
project.zigCoroutineScope.launchWithEDT(ModalityState.defaultModalityState()) {
|
||||||
withModalProgress(ModalTaskOwner.component(pathToToolchain), "Detecting Zig...", TaskCancellation.cancellable()) {
|
withModalProgress(ModalTaskOwner.component(pathToToolchain), "Detecting Zig...", TaskCancellation.cancellable()) {
|
||||||
autodetect(force)
|
autodetect(force)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pluginName=ZigBrains
|
pluginName=ZigBrains
|
||||||
pluginRepositoryUrl=https://github.com/FalsePattern/ZigBrains
|
pluginRepositoryUrl=https://github.com/FalsePattern/ZigBrains
|
||||||
|
|
||||||
pluginVersion=24.0.0
|
pluginVersion=24.0.1
|
||||||
|
|
||||||
pluginSinceBuild=241
|
pluginSinceBuild=241
|
||||||
pluginUntilBuild=241.*
|
pluginUntilBuild=241.*
|
||||||
|
|
|
@ -279,7 +279,7 @@ class ZLSSettingsPanel(private val project: Project) : ZigProjectConfigurationPr
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun dispatchAutodetect(force: Boolean) {
|
private fun dispatchAutodetect(force: Boolean) {
|
||||||
project.zigCoroutineScope.launchWithEDT(ModalityState.any()) {
|
project.zigCoroutineScope.launchWithEDT(ModalityState.defaultModalityState()) {
|
||||||
withModalProgress(ModalTaskOwner.component(zlsPath), "Detecting ZLS...", TaskCancellation.cancellable()) {
|
withModalProgress(ModalTaskOwner.component(zlsPath), "Detecting ZLS...", TaskCancellation.cancellable()) {
|
||||||
autodetect(force)
|
autodetect(force)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue