Skip to content

Notebook: Semantic Highlighting not working on newly created notebooks (works after reload) #3410

Closed

Description

@Wmuntean

Describe the Bug

There seems to be a bug with semantic highlighting and newly created notebooks in VSCode.

New notebook (never saved):

Image

After saving, closing, and reopening the notebook:

Image

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

VSCode: 1.120
Same issues across Windows, WSL, and MacOS.

Activity

  1. changed the title [-]Notebook: Semantic Highlighting[/-] [+]Notebook: Semantic Highlighting not working on newly created notebooks (works after reload)[/+] on May 16, 2026
  2. self-assigned this
    on May 16, 2026
  3. yangdanny97 commented on May 16, 2026

    @yangdanny97
    Collaborator

    Oh, there was a similar bug we fixed a few months ago where language services didn't work until a new file is saved to disk. Let me see if we can extend that fix to notebooks

    Does it work if you just save the notebook w/o closing and reopening?

  4. Wmuntean commented on May 18, 2026

    @Wmuntean
    Author

    No, looks like a complete reload is required for notebooks.

  5. yangdanny97 commented on May 26, 2026

    @yangdanny97
    Collaborator

    i have a fix for this, should be in the next release hopefully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

language-serverIssues specific to our IDE integration rather than type checkingnotebook

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions