vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Format specifiers in strings are syntax-highlighted even when not involved in a format

Open mcrumiller opened this issue 2 years ago • 0 comments

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

  • VS Code Version: latest
  • OS Version: Windows

Steps to Reproduce:

  1. Create a variable with a string containing a format specifier:

    s = "hi there %0.4f see how it's highlighted?"
    
  2. Observe syntax highlighting on the %0.4f:

    image

mcrumiller avatar Jul 07 '23 19:07 mcrumiller