Skip to content
Snippets Groups Projects
Commit 5ae83b45 authored by Johannes Mey's avatar Johannes Mey
Browse files

add comment why in-place renaming does not work

parent 87c92099
Branches
Tags
No related merge requests found
...@@ -12,6 +12,8 @@ public class RelAstGrammarRefactoringSupportProvider extends RefactoringSupportP ...@@ -12,6 +12,8 @@ public class RelAstGrammarRefactoringSupportProvider extends RefactoringSupportP
@Override @Override
public boolean isMemberInplaceRenameAvailable(@NotNull PsiElement elementToRename, @Nullable PsiElement context) { public boolean isMemberInplaceRenameAvailable(@NotNull PsiElement elementToRename, @Nullable PsiElement context) {
// in-place rename is still not available since not all requirements are met
// see https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006918740-How-do-I-enable-in-place-rename-Renaming-via-dialog-works-fine-
return (elementToRename instanceof RelAstGrammarDeclaredName) || (elementToRename instanceof RelAstGrammarTypeReference); return (elementToRename instanceof RelAstGrammarDeclaredName) || (elementToRename instanceof RelAstGrammarTypeReference);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment