-
Notifications
You must be signed in to change notification settings - Fork 1.2k
No intellisense for files untitled docs (not saved to disc) when using Language Server but works in Jedi #3498
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
Comments
Can you try selecting a different python interpreter, then restarting VS Code. |
Same error with a non conda env. |
Ok, please save the file to disc and the try |
Yep works if I save the file. |
Closing as this isn't supported |
Jedi works in an unsaved file though? Seems like a weird discrepancy. |
I'm assuming you meant to reopen this? Otherwise it won't show up on your board? |
It is open :) |
This is b/c file without extension '.py' is not considered to be Python in the LS and hence is not loaded. The fact that client sends it down anyway does not affect the behavior. |
However, the user has selected the file type in VSC. I think this is an important feature, specially for data scientists or someone starting to code, e.g. sending code to a terminal (or jupyter). |
Discussed with @qubitron , this is required. |
Fixed upstream (microsoft/python-language-server#597) |
Uh oh!
There was an error while loading. Please reload this page.
Environment data
Actual behavior
No intellisense.
Expected behavior
Intelliense
Steps to reproduce:
No intellisense comes up.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: