You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that jedi-language-server would read a package's __init__.pyi to support its auto-completion. But sometimes, it may wrongly regards functions as variables.
For example, numpy.log is defined as log: _UFunc_Nin1_Nout1[L['log'], L[10], None], so jedi-language-server regards it as a variable. But in fact, it is a function.
BTW, VSCode's pylance is able to give proper hint in this case. Can jedi also do so?
The text was updated successfully, but these errors were encountered:
It seems that
jedi-language-server
would read a package's__init__.pyi
to support its auto-completion. But sometimes, it may wrongly regards functions as variables.For example,
numpy.log
is defined aslog: _UFunc_Nin1_Nout1[L['log'], L[10], None]
, sojedi-language-server
regards it as a variable. But in fact, it is a function.BTW, VSCode's pylance is able to give proper hint in this case. Can
jedi
also do so?The text was updated successfully, but these errors were encountered: