Renamed ReformatFile action to ShowReformatFileDialog

This commit is contained in:
Yaroslav Lepenkin
2015-02-20 17:10:13 +03:00
parent 6a8e3b1eec
commit f8ef7cd722
5 changed files with 5 additions and 5 deletions
@@ -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("'>")
@@ -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>