Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb80e8c2

Browse files
committed
Fix IDE resolving job not running in editor
And it still appears to work within Gateway as well.There might be other jobs we have to apply this fix to as well but fornow I am taking them one at a time.
1 parentef446f6 commitb80e8c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/main/kotlin/com/coder/gateway/views/steps/CoderLocateRemoteProjectStepView.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import com.coder.gateway.withWorkspaceHostname
2525
importcom.intellij.ide.IdeBundle
2626
importcom.intellij.openapi.Disposable
2727
importcom.intellij.openapi.application.ApplicationManager
28+
importcom.intellij.openapi.application.ModalityState
29+
importcom.intellij.openapi.application.asContextElement
2830
importcom.intellij.openapi.diagnostic.Logger
2931
importcom.intellij.openapi.ui.ComboBox
3032
importcom.intellij.openapi.ui.ComponentValidator
@@ -181,7 +183,7 @@ class CoderLocateRemoteProjectStepView(private val setNextButtonEnabled: (Boolea
181183
titleLabel.text=CoderGatewayBundle.message("gateway.connector.view.coder.remoteproject.choose.text", selectedWorkspace.name)
182184
terminalLink.url= clientService.client.url.withPath("/@${clientService.me.username}/${selectedWorkspace.name}/terminal").toString()
183185

184-
ideResolvingJob= cs.launch {
186+
ideResolvingJob= cs.launch(ModalityState.current().asContextElement()) {
185187
try {
186188
val ides= suspendingRetryWithExponentialBackOff(
187189
action= { attempt->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp