-
Notifications
You must be signed in to change notification settings - Fork 290
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
Pylance / Language server full support #4307
Comments
Thanks for the bug. We do have partial intellisense in notebooks, but rename support is not currently supported. It works slightly better if you use VS code insiders (this will force notebooks to open with a beta notebook editor that has better intellisense), but this still doesn't support rename yet. |
Thanks. Line breaks are actually already being tracked by this issue here: |
I would love a full pylance experience within notebooks as well. I have a significant increase of code mistakes in notebooks compared to plain python files with pylance. It will definitely help my productivity when working within notebooks. |
+1 pylance does not work for jupyter notebooks, and would be nice to have. |
This should be working now but the 16 upvotes it received on Jul 19th makes me think it isn't working for some people. |
Still not working unfortunately - thank you for checking @rchiodo ! |
I found that if I start a remote server manually, connect a notebook from vscode to it, pylance wont be enabled, |
@rchiodo I don't know why my Pylance give me a lots of errors, but the cell and whole notebook I can run without any issue (no errors). Here is list of founded errors:
Thanks. |
@markub3327 I opened a new issue for you (#8678). We need some more information to help you. |
Closing this as fixed |
Environment data
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:31:29.624Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.80-2-MANJARO
Expected behaviour
Language server functions are available
Eg, pressing F2 to rename a variable, I get the rename variable popup
Actual behaviour
Pylance works for
.py
files:But doesn't work with Jupyter
.ipynb
notebooks:I tried saving the
.ipynb
- same issue.Steps to reproduce:
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)The text was updated successfully, but these errors were encountered: