Created
October 28, 2024 22:33
-
-
Save dkandalov/0c3a0362d205abd369d363ac280f9d9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.intellij.diagnostic.IdeMessagePanel | |
import com.intellij.openapi.wm.WindowManager | |
import liveplugin.registerAction | |
registerAction("Show IDE Errors", "ctrl shift E") { event -> | |
val messagePanel = WindowManager.getInstance().allProjectFrames | |
.find { it.project == event.project } | |
?.statusBar?.getWidget(IdeMessagePanel.FATAL_ERROR) as IdeMessagePanel | |
messagePanel.openErrorsDialog(null) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment