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

Completions for symbol names are shown after " in interactive window #15785

Closed
debonte opened this issue Jun 20, 2024 · 4 comments
Closed

Completions for symbol names are shown after " in interactive window #15785

debonte opened this issue Jun 20, 2024 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window notebook-intellisense Intellisense & other language features in notebook cells for any language triage-needed Issue needs to be triaged

Comments

@debonte
Copy link
Contributor

debonte commented Jun 20, 2024

Environment data

  • Language Server version: 2024.6.1
  • OS and version: Windows 11
  • Python version: 3.12.1

Repro Steps

  1. Jupyter: Create Interactive Window
  2. In the input box, type x = " and note the completion suggestions

Expected behavior

No completion suggestions, as you'd see in a .py file:

image

or in a regular notebook:

image

Actual behavior

image

Worse yet, after typing the close quote, you get the suggestions again:

image

@rchiodo
Copy link
Contributor

rchiodo commented Jun 20, 2024

That might be coming from the kernel. It does string completions. Does it repro in a notebook if you don't run any cells?

@rchiodo
Copy link
Contributor

rchiodo commented Jun 20, 2024

Yeah I can repro this same thing in a notebook (if I run a cell).

This should be a jupyter extension issue I believe.

@debonte
Copy link
Contributor Author

debonte commented Jun 20, 2024

That might be coming from the kernel. It does string completions. Does it repro in a notebook if you don't run any cells?

No

@debonte debonte transferred this issue from microsoft/pylance-release Jun 20, 2024
@vscodenpa vscodenpa added the triage-needed Issue needs to be triaged label Jun 20, 2024
@DonJayamanne DonJayamanne added notebook-intellisense Intellisense & other language features in notebook cells for any language interactive-window Impacts interactive window bug Issue identified by VS Code Team member as probable bug labels Dec 11, 2024
@DonJayamanne
Copy link
Contributor

Notebooks display the same completion (you need to start the kernel)
Given that users haven't reported this issue there's no plan to fix this, besides the completions are returned by the kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window notebook-intellisense Intellisense & other language features in notebook cells for any language triage-needed Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

5 participants