mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable for search in non-java in member inplace renamer (IDEA-153174)
This commit is contained in:
+2
-1
@@ -41,6 +41,7 @@ import com.intellij.refactoring.RefactoringBundle;
|
||||
import com.intellij.refactoring.rename.RenameProcessor;
|
||||
import com.intellij.refactoring.rename.RenamePsiElementProcessor;
|
||||
import com.intellij.refactoring.rename.naming.AutomaticRenamerFactory;
|
||||
import com.intellij.refactoring.util.TextOccurrencesUtil;
|
||||
import com.intellij.usageView.UsageViewUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -292,7 +293,7 @@ public class MemberInplaceRenamer extends VariableInplaceRenamer {
|
||||
|
||||
public MyRenameProcessor(PsiElement element, String newName, RenamePsiElementProcessor elementProcessor) {
|
||||
super(MemberInplaceRenamer.this.myProject, element, newName, elementProcessor.isToSearchInComments(element),
|
||||
elementProcessor.isToSearchForTextOccurrences(element));
|
||||
elementProcessor.isToSearchForTextOccurrences(element) && TextOccurrencesUtil.isSearchTextOccurencesEnabled(element));
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user