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
Perl syntax highlight breaks with a simple line involving two pairs of square brackets:
use strict;
my %FORM = (logins => "Aaaa, Bbbb Cccc");
my $good_highlight = "a string";
# everything after this line is highlighted the wrong way
my $logins_from_form = [split /[,\s]+/, $FORM{logins}];
my $bad_highlight = "a string";
Create a new .pl file or choose Perl language manually, edit the file
Put the code above
Notice that the colors in the last line are different from the third one. In a real life situation that would make a few screens of mostly brown (or whatever "my" is in the last line) lines until a similar line would fix the highlight back.
VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.15.0-55-generic
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2800)
Issue Type: Bug
Perl syntax highlight breaks with a simple line involving two pairs of square brackets:
VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.15.0-55-generic
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Extensions (15)
The text was updated successfully, but these errors were encountered: