mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-9471 Do not show parameter info outside function parenthesis
This commit is contained in:
@@ -75,7 +75,7 @@ public class PyParameterInfoHandler implements ParameterInfoHandler<PyArgumentLi
|
||||
}
|
||||
|
||||
private static PyArgumentList findArgumentList(final ParameterInfoContext context) {
|
||||
return ParameterInfoUtils.findParentOfType(context.getFile(), context.getOffset(), PyArgumentList.class);
|
||||
return ParameterInfoUtils.findParentOfType(context.getFile(), context.getOffset()-1, PyArgumentList.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -6,4 +6,4 @@ def result():
|
||||
pass
|
||||
|
||||
|
||||
function(result<arg1>(), result())
|
||||
function(result(<arg1>), result())
|
||||
|
||||
Reference in New Issue
Block a user