From 4e89d564c4bde59021b1e1e0d894e9b2233beb71 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Thu, 16 May 2019 23:48:26 +0300 Subject: [PATCH] sh rename should be higher than explain shell GitOrigin-RevId: ab158a0f122607adfa608614fac2b48e830ad0a8 --- .../intellij/sh/rename/ShRenameAllOccurrencesIntention.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/sh/src/com/intellij/sh/rename/ShRenameAllOccurrencesIntention.java b/plugins/sh/src/com/intellij/sh/rename/ShRenameAllOccurrencesIntention.java index 929cb751de94..1c5e2638cbe8 100644 --- a/plugins/sh/src/com/intellij/sh/rename/ShRenameAllOccurrencesIntention.java +++ b/plugins/sh/src/com/intellij/sh/rename/ShRenameAllOccurrencesIntention.java @@ -1,6 +1,7 @@ // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.sh.rename; +import com.intellij.codeInsight.intention.HighPriorityAction; import com.intellij.codeInsight.intention.impl.BaseIntentionAction; import com.intellij.openapi.actionSystem.CommonShortcuts; import com.intellij.openapi.actionSystem.ShortcutProvider; @@ -13,7 +14,7 @@ import com.intellij.util.IncorrectOperationException; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -public class ShRenameAllOccurrencesIntention extends BaseIntentionAction implements ShortcutProvider { +public class ShRenameAllOccurrencesIntention extends BaseIntentionAction implements ShortcutProvider, HighPriorityAction { @NotNull @Override public String getFamilyName() {