mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
method renamed
This commit is contained in:
@@ -58,7 +58,7 @@ public class RefactoringProvider extends RefactoringSupportProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean doInplaceRenameFor(PsiElement element, PsiElement context) {
|
||||
public boolean isInplaceRenameAvailable(PsiElement element, PsiElement context) {
|
||||
return (element instanceof PyTargetExpression && PsiTreeUtil.getParentOfType(element, PyFunction.class) != null) ||
|
||||
element instanceof PyNamedParameter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user