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

Wrong highlight with Notebooks & Python #131627

Closed
PabloBotas opened this issue Aug 25, 2021 · 2 comments
Closed

Wrong highlight with Notebooks & Python #131627

PabloBotas opened this issue Aug 25, 2021 · 2 comments
Assignees

Comments

@PabloBotas
Copy link

Does this issue occur when all extensions are disabled?: If I disable all extensions I can not work with Jupyter notebooks. This question does not apply. Active extensions are: Jupyter, Pylance and Python.

  • VS Code Version:
    • Version: 1.59.1 (user setup)
    • Commit: 3866c35
    • Date: 2021-08-19T11:56:46.957Z
    • Electron: 13.1.7
    • Chrome: 91.0.4472.124
    • Node.js: 14.16.0
    • V8: 9.1.269.36-electron.0
  • OS Version: Windows_NT x64 10.0.19041

Steps to Reproduce:
Sorry but I can not describe a series of steps. When working with notebooks, VS Code will highlight things that are simply not correct. When selecting a word, it will highlight areas where that word is not located. Find and replace is also buggy.

See image for reference: The per_algorithm part is highlighted as not used while it the case_stats should. The underline of print and return are also wrong.

imagen

What can I do?
Thanks!

@PabloBotas PabloBotas changed the title Wrong highlight Wrong highlight with Notebooks & Python Aug 25, 2021
@rebornix
Copy link
Member

cc @rchiodo

@rchiodo
Copy link
Contributor

rchiodo commented Aug 30, 2021

This should be a dupe of microsoft/vscode-jupyter#6333 which was fixed in the python extension. The next release of VS code should address this.

@rchiodo rchiodo closed this as completed Aug 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants