Skip to content
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

Not getting intellisense in notebooks #2896

Closed
greazer opened this issue Jun 8, 2022 · 7 comments
Closed

Not getting intellisense in notebooks #2896

greazer opened this issue Jun 8, 2022 · 7 comments
Assignees
Labels
bug Something isn't working waiting for user response Requires more information from user

Comments

@greazer
Copy link

greazer commented Jun 8, 2022

Version: 1.68.0-insider (user setup)
Commit: b7faf235467dd56e4a62e52e7f1cacf875b67261
Date: 2022-06-07T18:33:43.014Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.25131

Jupyter: v2022.6.1001601017 (prerelease)
Pylance: v2022.6.0

  1. Create a new notebook
  2. Create a cell
  3. Enter
import numpy as np
np.r

On pressing "r" I expect to see autocompletions that includes "random". I do not.

Stable works fine.

@rchiodo
Copy link
Contributor

rchiodo commented Jun 8, 2022

This would be a pylance issue, not a jupyter issue.

They're going to want logs for the language server. Additionally did you end up in the experiment for the "python.pylanceLspNotebooksEnabled" setting.

@rchiodo rchiodo transferred this issue from microsoft/vscode-jupyter Jun 8, 2022
@github-actions github-actions bot added the triage label Jun 8, 2022
@rchiodo
Copy link
Contributor

rchiodo commented Jun 8, 2022

How long did you wait? The screenshot looks like pylance hasn't loaded yet. There's no colorization.

It works for me if I wait for the colorization to appear:

image

@rchiodo
Copy link
Contributor

rchiodo commented Jun 8, 2022

This is what it looks like before pylance starts up:

image

@debonte debonte self-assigned this Jun 8, 2022
@debonte
Copy link
Contributor

debonte commented Jun 8, 2022

They're going to want logs for the language server. Additionally did you end up in the experiment for the "python.pylanceLspNotebooksEnabled" setting.

@rchiodo thanks for requesting logs. The Pylance log will show the experiment state fwiw.

@github-actions github-actions bot removed the triage label Jun 8, 2022
@debonte debonte added the waiting for user response Requires more information from user label Jun 9, 2022
@debonte
Copy link
Contributor

debonte commented Jun 17, 2022

@greazer, are you still seeing this? Does it resolve on its own if you wait for Pylance to finish initializing, as Rich suggested above? If not, please provide logs.

@debonte
Copy link
Contributor

debonte commented Jul 6, 2022

@greazer, ping?

@judej
Copy link
Contributor

judej commented Jul 12, 2022

Closing old issue. If this is still a problem, please reopen with the information requested. thanks

@judej judej closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

4 participants