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
I noticed that the following JS broke syntax highlighting.
let key = `${location.href}:${entry.name}`;
Lines following this one in my JS file did not have correct syntax highlighting.
Commenting out this line fixed the problem.
Or, changing it the equivalent: let key = [location.href, entry.name].join(':'); also fixed it.
Extension version: 0.5.0
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:01.965Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No
Here's a screenshot showing the bad syntax higlighting:
And if I comment out the line, it looks ok again:
The text was updated successfully, but these errors were encountered:
bantic
changed the title
Breaks syntax highlighting
Breaks syntax highlighting after template string w/ variable like "let foo = ${bar};"
Feb 17, 2023
bantic
changed the title
Breaks syntax highlighting after template string w/ variable like "let foo = ${bar};"
Breaks syntax highlighting after template string w/ variable like "let foo = \${bar}\;"
Feb 17, 2023
bantic
changed the title
Breaks syntax highlighting after template string w/ variable like "let foo = \${bar}\;"
Breaks syntax highlighting after template string w/ variable
Feb 17, 2023
Type: Bug
I noticed that the following JS broke syntax highlighting.
Lines following this one in my JS file did not have correct syntax highlighting.
Commenting out this line fixed the problem.
Or, changing it the equivalent:
let key = [location.href, entry.name].join(':');
also fixed it.Extension version: 0.5.0
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:01.965Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
Here's a screenshot showing the bad syntax higlighting:
And if I comment out the line, it looks ok again:
The text was updated successfully, but these errors were encountered: