-
Notifications
You must be signed in to change notification settings - Fork 766
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
Conflict with pylance syntax highlighting and code completion #4724
Comments
Please let me know if there are any type of logs I can provide to help with your task 😃 |
Can you please provide a log as described under "Filing an issue" in the troubleshooting guide? You might be hitting #4685. |
@debonte Please find the logs attached : to obtain them i reloaded the dev window, ran all the notebook's cells, added one, ran it and deleted it. On deletion, the syntax highlighting did in fact stop working. |
@Koowah, when you see this issue, if you add/delete/reorder a cell, do you see Pylance crash with an error similar to this?
|
@debonte Pylance works fine when adding or reordering cells. The issue only happens on cell deletion. There is however no error message in the output tab. |
I want to make sure we're talking about the same thing. It sounds like you're saying that syntax highlighting, etc stops working when you delete a cell. I'm asking if after that occurs, does adding/deleting/reordering a cell cause Pylance to crash. I'm trying to determine if this is a duplicate of #4685. There are two stages to that bug. First you lose language server functionality (ex. hover, semantic highlighting) as you described above and then if you change the structure of a notebook, Pylance will crash with the |
Excellent, thanks for confirming! I'll resolve this issue as a duplicate. Keep an eye on #4685 for updates. |
Applies To
What happened?
Pylance syntax highlighting works at first before giving way to jupyter syntax highlighting after a few seconds (20/30) at which point code completion stops working aswell.
Any idea why this might be ? This started fairly recently.
Thanks for your help 😄
VS Code Version
Version: 1.81.0 (user setup) Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97 Date: 2023-08-02T12:37:13.485Z Electron: 22.3.18 ElectronBuildId: 22689846 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045
Jupyter Extension Version
v2023.7.1002162226
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.11.4
Language Extension Version (if applicable)
v2023.14.0
Anaconda Version (if applicable)
23.5.2
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: