is there a way to get the key binding for undo command programmatically from plugin?
已回答
请先登录再写评论。
Action ID is "$Undo" (com.intellij.openapi.actionSystem.IdeActions#ACTION_UNDO)
Use com.intellij.openapi.keymap.KeymapUtil#getPrimaryShortcut and related methods to query assigned shortcuts