You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax highlighting breaks while pattern matching with switch and regex while having a + in a string in the same line.
Removing the + or not having the pattern as a regex fixes the highlighting.
Passing the offending string into a function constrains the issue to that line.
highlighting.mov
The code runs correctly, it's just the LSP that gets confused.
VSC extension 0.3.25
The text was updated successfully, but these errors were encountered:
There are lots of syntax highlighting bugs (it hasn't been updated in years). But thanks for the report! If we start picking away at the major ones, we will eventually get to a better place...
edemaine
changed the title
LSP - syntax highlighting breaks with switch/regex/+
Syntax highlighting breaks with switch/regex/+
Nov 3, 2024
There are lots of syntax highlighting bugs (it hasn't been updated in years). But thanks for the report! If we start picking away at the major ones, we will eventually get to a better place...
The syntax highlighting breaks while pattern matching with
switch
andregex
while having a+
in a string in the same line.Removing the
+
or not having the pattern as aregex
fixes the highlighting.Passing the offending string into a function constrains the issue to that line.
highlighting.mov
The code runs correctly, it's just the LSP that gets confused.
VSC extension 0.3.25
The text was updated successfully, but these errors were encountered: