microsoft / microsoft/vscode-extension-samples
Is there any sample how to implement incremental semantic syntax highlighting properly?
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.