mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-142428 Display shortcuts for action-intentions name that available by Alt+Enter
This commit is contained in:
@@ -732,7 +732,7 @@ action.ToggleTemporaryLineBreakpoint.text=Toggle Temporary Line Breakpoint
|
||||
action.ToggleTemporaryLineBreakpoint.description=Toggle temporary line breakpoint at caret
|
||||
action.ViewBreakpoints.text=View Brea_kpoints...
|
||||
action.ViewBreakpoints.description=View and manage all breakpoints and watchpoints
|
||||
action.EditBreakpoint.text=Edit
|
||||
action.EditBreakpoint.text=Edit breakpoint
|
||||
action.ExportThreads.text=Export T_hreads...
|
||||
action.ExportThreads.description=Save all threads information to a text file or clipboard
|
||||
action.Runner.RestoreLayout.text=Restore Layout
|
||||
|
||||
@@ -9,9 +9,9 @@ debugger.hotswap.display.name=HotSwap
|
||||
xdebugger.default.content.title=Debug
|
||||
xdebugger.debugger.tab.title=Debugger
|
||||
|
||||
xdebugger.remove.line.breakpoint.action.text=Remove
|
||||
xdebugger.disable.breakpoint.action.text=Disable
|
||||
xdebugger.enable.breakpoint.action.text=Enable
|
||||
xdebugger.remove.line.breakpoint.action.text=Remove breakpoint
|
||||
xdebugger.disable.breakpoint.action.text=Disable breakpoint
|
||||
xdebugger.enable.breakpoint.action.text=Enable breakpoint
|
||||
xdebugger.view.breakpoint.properties.action=Properties
|
||||
xdebugger.view.breakpoint.reveal.action=Show Breakpoints Dialog
|
||||
xdebugger.view.breakpoint.edit.action=Edit
|
||||
|
||||
+4
@@ -16,6 +16,8 @@
|
||||
package com.intellij.xdebugger.impl.actions;
|
||||
|
||||
import com.intellij.idea.ActionsBundle;
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
@@ -38,6 +40,8 @@ public class EditBreakpointAction extends XDebuggerActionBase implements DumbAwa
|
||||
myRenderer = breakpointRenderer;
|
||||
myBreakpoint = breakpoint;
|
||||
myDebuggerSupport = debuggerSupport;
|
||||
AnAction action = ActionManager.getInstance().getAction("ViewBreakpoints");
|
||||
copyShortcutFrom(action);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+4
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package com.intellij.xdebugger.impl.breakpoints;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.project.DumbAwareAction;
|
||||
import com.intellij.xdebugger.XDebuggerBundle;
|
||||
@@ -26,6 +28,8 @@ class RemoveBreakpointGutterIconAction extends DumbAwareAction {
|
||||
RemoveBreakpointGutterIconAction(XBreakpointBase<?, ?, ?> breakpoint) {
|
||||
super(XDebuggerBundle.message("xdebugger.remove.line.breakpoint.action.text"));
|
||||
myBreakpoint = breakpoint;
|
||||
AnAction action = ActionManager.getInstance().getAction("ToggleLineBreakpoint");
|
||||
copyShortcutFrom(action);
|
||||
}
|
||||
|
||||
public void actionPerformed(final AnActionEvent e) {
|
||||
|
||||
+4
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package com.intellij.xdebugger.impl.breakpoints;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.project.DumbAwareAction;
|
||||
import com.intellij.xdebugger.XDebuggerBundle;
|
||||
@@ -29,6 +31,8 @@ class ToggleBreakpointGutterIconAction extends DumbAwareAction {
|
||||
ToggleBreakpointGutterIconAction(XBreakpoint<?> breakpoint) {
|
||||
super(breakpoint.isEnabled() ? XDebuggerBundle.message("xdebugger.disable.breakpoint.action.text") : XDebuggerBundle.message("xdebugger.enable.breakpoint.action.text"));
|
||||
this.myBreakpoint = breakpoint;
|
||||
AnAction action = ActionManager.getInstance().getAction("ToggleBreakpointEnabled");
|
||||
copyShortcutFrom(action);
|
||||
}
|
||||
|
||||
public void actionPerformed(final AnActionEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user