mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LAB-31 Check for signature help that offset lies within argument list
GitOrigin-RevId: 73b551b482825677395778fc6289d2dae6d72e5c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d0d77f8c67
commit
b16c539dba
+1
-1
@@ -24,7 +24,7 @@ public final class PySignatureHelpProvider implements SignatureHelpProvider {
|
||||
@Override
|
||||
public SignatureHelpResult getSignatureHelp(PsiFile file, int offset) {
|
||||
PyArgumentList argumentList = PyParameterInfoUtils.findArgumentList(file, offset, -1);
|
||||
if (argumentList == null) {
|
||||
if (argumentList == null || !argumentList.getTextRange().contains(offset)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user