From f8ef7cd72260d1a78ffb34b8df252f2937ad53f8 Mon Sep 17 00:00:00 2001 From: Yaroslav Lepenkin Date: Fri, 20 Feb 2015 16:59:18 +0300 Subject: [PATCH] Renamed ReformatFile action to ShowReformatFileDialog --- .../com/intellij/codeInsight/actions/FileInEditorProcessor.java | 2 +- .../{ReformatFileAction.java => ShowReformatFileDialog.java} | 2 +- .../platform-resources-en/src/messages/ActionsBundle.properties | 2 +- platform/platform-resources/src/idea/Keymap_Default.xml | 2 +- platform/platform-resources/src/idea/LangActions.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename platform/lang-impl/src/com/intellij/codeInsight/actions/{ReformatFileAction.java => ShowReformatFileDialog.java} (97%) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/actions/FileInEditorProcessor.java b/platform/lang-impl/src/com/intellij/codeInsight/actions/FileInEditorProcessor.java index 33813c5a5b45..75f4c1f3c92e 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/actions/FileInEditorProcessor.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/actions/FileInEditorProcessor.java @@ -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("") diff --git a/platform/lang-impl/src/com/intellij/codeInsight/actions/ReformatFileAction.java b/platform/lang-impl/src/com/intellij/codeInsight/actions/ShowReformatFileDialog.java similarity index 97% rename from platform/lang-impl/src/com/intellij/codeInsight/actions/ReformatFileAction.java rename to platform/lang-impl/src/com/intellij/codeInsight/actions/ShowReformatFileDialog.java index 2855b205e5e3..b564b939ea1e 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/actions/ReformatFileAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/actions/ShowReformatFileDialog.java @@ -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 diff --git a/platform/platform-resources-en/src/messages/ActionsBundle.properties b/platform/platform-resources-en/src/messages/ActionsBundle.properties index 93cb7ce861d0..727d96663ff5 100644 --- a/platform/platform-resources-en/src/messages/ActionsBundle.properties +++ b/platform/platform-resources-en/src/messages/ActionsBundle.properties @@ -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 diff --git a/platform/platform-resources/src/idea/Keymap_Default.xml b/platform/platform-resources/src/idea/Keymap_Default.xml index c6cbf44e4aa0..5ce4479f0491 100644 --- a/platform/platform-resources/src/idea/Keymap_Default.xml +++ b/platform/platform-resources/src/idea/Keymap_Default.xml @@ -87,7 +87,7 @@ - + diff --git a/platform/platform-resources/src/idea/LangActions.xml b/platform/platform-resources/src/idea/LangActions.xml index db5c66ede0cc..cc37df8bfb68 100644 --- a/platform/platform-resources/src/idea/LangActions.xml +++ b/platform/platform-resources/src/idea/LangActions.xml @@ -938,7 +938,7 @@ - +