Microsoft/vscode

Syntax highlighting randomly breaks in inlineSuggest preview

Open

#234.963 geöffnet am 2. Dez. 2024

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bugghost-texthelp wantedinline-completions

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

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

  • VS Code Version: 1.95.3
  • OS Version: Windows 11

Steps to Reproduce:

  1. Enable editor.suggest.preview and editor.inlineSuggest.syntaxHighlightingEnabled
  2. Create JSON file with snippet
  3. ctrl+space inside ""
  4. Scroll down to captures and notice that it highlights correctlyImage
  5. Scroll down to beginCaptures and notice that it highlights incorrectlyImage
  6. Also notice that holding down shift changes the syntax highlighting ❌ Image
  7. 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": [
        {
            ""
        }
    ]
}

Contributor Guide