Add an action to appropriate menus and add mnemonics (PY-9537)

This commit is contained in:
Elizaveta Shashkova
2017-09-25 21:03:54 +03:00
parent 387e927e31
commit d6ba372133
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -875,7 +875,8 @@
</action>
<action id="SetNextStatement" class="com.jetbrains.python.debugger.PySetNextStatementAction"
text="Jump To Cursor" description="Jump to the line where the caret is">
text="&amp;Jump To Cursor" description="Jump to the line where the caret is">
<add-to-group group-id="DebugMainMenu" relative-to-action="ForceRunToCursor" anchor="after"/>
<add-to-group group-id="EditorPopupMenuDebug" relative-to-action="ForceRunToCursor" anchor="after"/>
</action>
@@ -32,7 +32,7 @@ import com.intellij.xdebugger.impl.actions.XDebuggerActionBase
import com.intellij.xdebugger.impl.actions.XDebuggerSuspendedActionHandler
import com.jetbrains.python.debugger.pydev.PyDebugCallback
class PySetNextStatementAction : XDebuggerActionBase() {
class PySetNextStatementAction : XDebuggerActionBase(true) {
private val LOG = Logger.getInstance("#com.jetbrains.python.debugger.PySetNextStatementAction")
private val mySetNextStatementActionHandler: XDebuggerSuspendedActionHandler