mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Renamed ReformatFile action to ShowReformatFileDialog
This commit is contained in:
@@ -166,7 +166,7 @@ class FileInEditorProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
String shortcutText = KeymapUtil.getFirstKeyboardShortcutText(ActionManager.getInstance().getAction("ReformatFile"));
|
||||
String shortcutText = KeymapUtil.getFirstKeyboardShortcutText(ActionManager.getInstance().getAction("ShowReformatFileDialog"));
|
||||
String color = ColorUtil.toHex(JBColor.gray);
|
||||
|
||||
builder.append("<span style='color:#").append(color).append("'>")
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
public class ReformatFileAction extends AnAction implements DumbAware {
|
||||
public class ShowReformatFileDialog extends AnAction implements DumbAware {
|
||||
private static final @NonNls String HELP_ID = "editing.codeReformatting";
|
||||
|
||||
@Override
|
||||
@@ -548,7 +548,7 @@ action.OptimizeImports.text=Optimi_ze Imports...
|
||||
action.OptimizeImports.description=Remove unused imports and reorder/reorganize imports
|
||||
action.RearrangeCode.text=Rearrange Code
|
||||
action.RearrangeCode.description=Rearrange code
|
||||
action.ReformatFile.text=Show Reformat File Dialog
|
||||
action.ShowReformatFileDialog.text=Show Reformat File Dialog
|
||||
action.MoveStatementDown.text=Move Statement Do_wn
|
||||
action.MoveStatementDown.description=Move selected statements one line down
|
||||
action.MoveStatementUp.text=Move Statement _Up
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<action id="ReformatCode">
|
||||
<keyboard-shortcut first-keystroke="control alt L"/>
|
||||
</action>
|
||||
<action id="ReformatFile">
|
||||
<action id="ShowReformatFileDialog">
|
||||
<keyboard-shortcut first-keystroke="control shift alt L"/>
|
||||
</action>
|
||||
<action id="Generate">
|
||||
|
||||
@@ -938,7 +938,7 @@
|
||||
<reference ref="Arrangement.Rule.Group.Condition.Move.Down"/>
|
||||
</group>
|
||||
|
||||
<action id="ReformatFile" class="com.intellij.codeInsight.actions.ReformatFileAction"/>
|
||||
<action id="ShowReformatFileDialog" class="com.intellij.codeInsight.actions.ShowReformatFileDialog"/>
|
||||
|
||||
</actions>
|
||||
</component>
|
||||
|
||||
Reference in New Issue
Block a user