-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add a command to restart the language server #22045
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
I have similar problems with Pylance working for a while in a Jupyter notebook, then breaking.
For me, when the active VSC window is a Jupyter notebook, the command palette has Restart Language Server just for .Net, nothing for Python. Conversely, when the active VSC window is a Python file, the "Python: Restart Language Server" command does appear. |
When the editor opens a However when in a jupyter notebook, this command vanishs: Here is my environment and extension info:
|
@DonJayamanne, this reminds me that the language status |
I think @mjbvz would be the best person to answer this . |
Can confirm I have the same issue(works in python file, doesn't show up in jupyter file) for the following environment
|
Hi! Has there been any progress on this? We just ran into the same problem and it's quite annoying. The "Python: Restart Language Server" command is listed in Python files but not in Jupyter notebooks. The "Python: Show Language Server Output" command, however, does show up in any file. So I'm wondering, would this just be a one-line change to remove the |
@DonJayamanne I'd be happy to work on this |
This has been discussed for vscode-python extension.
A command called
restartLanguageServer
has been created.However this command can't be found in my command palette, maybe in pylance extension it's already deleted.
I'd like a way to re-analyse the code in a jupyter notebook, since the language server (or the extension) is always broken weirdly microsoft/pylance-release#4736.
The text was updated successfully, but these errors were encountered: