mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-9690 Show 'Insert documentation string stub' only on function name
This commit is contained in:
+1
@@ -69,6 +69,7 @@ public class PyGenerateDocstringIntention extends BaseIntentionAction {
|
||||
if (function == null || statementList != null) {
|
||||
return false;
|
||||
}
|
||||
if (!elementAt.equals(function.getNameNode())) return false;
|
||||
return isAvailableForFunction(project, function);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user