Skip to content

Commit 7346925

Browse files
committed
run actions on a background thread
1 parent cdd0967 commit 7346925

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rider-fsharp/src/main/java/com/jetbrains/rider/plugins/fsharp/services/fsi/SendToFsiActions.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ open class SendToFsiActionBase(
4040
private val sendSelectionText: String
4141
) : AnAction(), DumbAware {
4242

43+
override fun getActionUpdateThread() = ActionUpdateThread.BGT
44+
4345
override fun actionPerformed(e: AnActionEvent) {
4446
val editor = CommonDataKeys.EDITOR.getData(e.dataContext)!!
4547
val file = CommonDataKeys.PSI_FILE.getData(e.dataContext)!!

0 commit comments

Comments
 (0)