-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense doesnt work for all Pytorch methods #5643
Comments
Please could you try switching to the Let me know whether this resolves the problem for you. |
@DonJayamanne : I had a look at the link you provided. the problem is I cant find a way to install Language Server, as the instructions given there doesn't work for me. I just updated the VSCode to the latest version couple of hours ago and this has not changed (i.e. no language server is installed) |
All you need to do is:
|
Please note, you have |
@DonJayamanne In the gif I posted above, I tested both scenarios, both with jediEnabled set to true and false! |
When using Jedi, the auto completion list is provided by an external package and we do not have much control over that. Please feel free to report an issue on their repo https://github.com/davidhalter/jedi. On the other hand the language server is something that's built by us. |
Issue moved to microsoft/python-language-server #1098 via ZenHub |
@DonJayamanne :
|
Environment data
Expected behaviour
Intellisense should work on Pytorch methods as well but it does not!
Actual behaviour
It wont work on methods such as
mm
,matmul
,mul
,from_numpy
,sum
,randn
,tensor
,exp
,empty
arange
,zeros
,cat
,etc as described here in details.Steps to reproduce:
sum
,empty
,randn
,tensor
,etcLogs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: