package com.jetbrains.rider.plugins.unity.actions

import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAware
import com.jetbrains.rider.plugins.unity.run.UnityProcessPickerDialog

class AttachToUnityProcessAction : AnAction(), DumbAware {
    override fun actionPerformed(e: AnActionEvent) {
        val project = e.project?: return

        val dialog = UnityProcessPickerDialog(project)
        dialog.show()
    }
}
package com.jetbrains.rider.plugins.unity.actions

import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.jetbrains.rider.plugins.unity.run.UnityProcessPickerDialog

class AttachToUnityProcessAction : AnAction() {
    override fun actionPerformed(e: AnActionEvent) {
        val project = e.project?: return

        val dialog = UnityProcessPickerDialog(project)
        dialog.show()
    }
}
Attach to Unity process no longer DumbAware
Attach to Unity process no longer DumbAware

It needs to wait for the protocol to be ready

JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity