microsoft / microsoft/vscode

Long distance inline edit preview rendered with incorrect indentation/offsets after tokenization

Open
#324,484 0 comments 0 reactions 1 assignee Claimed by @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

- VS Code Version: 1.127.0
- OS Version: MacOS 26.5.2

Steps to Reproduce:

1. Wait for long distance inline edit for different file to appear
2. This file should not be parsed yet
3. Suggestion would be rendered without colors \ correct tokens for a split second
4. After parsing is complete suggestion can be rendered slightly incorrectly (ex. first letters missing due to wrong indentation calculation).
5. The same suggestion if rendered again looks correctly while parsed model stays in memory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.