Microsoft/vscode
View on GitHubSyntax highlighting randomly breaks in inlineSuggest preview
Open
#234,963 opened on Dec 2, 2024
bugghost-texthelp wantedinline-completions
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (Avg merge 11h 43m) (1,000 merged PRs in 30d)
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.95.3
- OS Version: Windows 11
Steps to Reproduce:
- Enable
editor.suggest.previewandeditor.inlineSuggest.syntaxHighlightingEnabled - Create JSON file with snippet
- ctrl+space inside
"" - Scroll down to
capturesand notice that it highlights correctly ✅ - Scroll down to
beginCapturesand notice that it highlights incorrectly ❌ - Also notice that holding down shift changes the syntax highlighting ❌
- Also also notice that the position of the real
"(undimmed double quote) moves around ❌
{
"$schema": "https://raw.githubusercontent.com/RedCMD/TmLanguage-Syntax-Highlighter/main/vscode.tmLanguage.schema.json",
"patterns": [
{
""
}
]
}