Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting error for Perl #108609

Closed
donsequitur opened this issue Oct 13, 2020 · 6 comments
Closed

Syntax highlighting error for Perl #108609

donsequitur opened this issue Oct 13, 2020 · 6 comments
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@donsequitur
Copy link

Issue Type: Bug

    for my $comp_site_config (@comp_sites_configs) {
        my ($cmp_j_id, $cmp_abbrev, $cmp_url) = split /\|/, $comp_site_config;
        my ($cmp_journal_id) = $c->db->selectrow_array(qq(SELECT journal_id FROM Journal WHERE j_id = ?),undef, $cmp_j_id + 0);
        push @cmp_sites, {abbrev => $cmp_abbrev, journal_id => $cmp_journal_id};
    }

image

syntax highlighting breaks at the closing slash of the regex in the first argument of the split.

VS Code version: Code 1.50.0 (93c2f0f, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 3999)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.95GB (0.43GB free)
Process Argv --folder-uri=vscode-remote://wsl+CentOS8/opt/ejp/docker --remote=wsl+CentOS8 --crash-reporter-id ab624221-dd85-4727-8c1e-19b2307c1e21
Screen Reader no
VM 0%
Item Value
Remote WSL: CentOS8
OS Linux x64 4.19.128-microsoft-standard
CPUs Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 3998)
Memory (System) 12.44GB (3.33GB free)
VM 0%
Item Value
Remote WSL: CentOS8
OS Linux x64 4.19.128-microsoft-standard
CPUs Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 3998)
Memory (System) 12.44GB (3.33GB free)
VM 0%
Extensions (5)
Extension Author (truncated) Version
mojolicious kra 1.9.0
remote-containers ms- 0.145.0
remote-ssh ms- 0.55.0
remote-ssh-edit ms- 0.55.0
remote-wsl ms- 0.50.0
@gjsjohnmurray
Copy link
Contributor

/causedByExtension

@donsequitur
Copy link
Author

Hi,

This is not caused by the Mojolicious extension. The auto-diagnostic info may indicate the syntax from that extension was active, but I have subsequently tested with that extension disabled and the normal Perl syntax enabled for the file and the problem is still present.

@donsequitur
Copy link
Author

Hello,

Here is an example in a fresh file with extension disabled.

image

@gjsjohnmurray
Copy link
Contributor

@donsequitur sorry for my false assumption.

@aeschli is the built-in perl support your domain? Please reopen, and redirect if not your responsibility.

@aeschli aeschli removed the *caused-by-extension Issue identified to be caused by an extension label Oct 13, 2020
@alexr00
Copy link
Member

alexr00 commented Oct 21, 2020

Duplicate of the this upstream bug: textmate/perl.tmbundle#28

@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream labels Oct 21, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

5 participants
@aeschli @gjsjohnmurray @donsequitur @alexr00 and others