microsoft / microsoft/vscode-extension-samples

Is there any sample how to implement incremental semantic syntax highlighting properly?

Open
#851 0 comments 0 reactions 1 assignee View on GitHub

@alexdima is already working on this.

Since Apr 24, 2023.

enhancement
Dominant language
TypeScript
Stars
10.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

I'm curious if there's an example or guidance available for addressing the issue mentioned in the title.
It appears that VSCode accurately highlights syntax using provideDocumentSemanticTokens. However, rapid typing or typos can cause the loss of all highlighted syntax. Is there a known workaround to overcome this problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.