mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[cucumber-java] IDEA-107390 Add rename support for Cucumber steps (both regex and cukex)
Merge-request: IJ-MR-165127 Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com> GitOrigin-RevId: 883aff98e2a70a7c5b24c42368be3311f43e0129
This commit is contained in:
committed by
intellij-monorepo-bot
parent
490e26eb27
commit
59039aad3b
+2
-1
@@ -979,7 +979,8 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig
|
||||
@NotNull String newName,
|
||||
boolean searchInComments,
|
||||
boolean searchTextOccurrences) {
|
||||
PsiElement substitution = RenamePsiElementProcessor.forElement(element).substituteElementToRename(element, editor);
|
||||
RenamePsiElementProcessor renameProcessor = RenamePsiElementProcessor.forElement(element);
|
||||
PsiElement substitution = renameProcessor.substituteElementToRename(element, editor);
|
||||
if (substitution == null) return;
|
||||
new RenameProcessor(getProject(), substitution, newName, searchInComments, searchTextOccurrences).run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user