Skip to content

PHP Syntax Highlighting Bug #118450

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

Closed
ghost opened this issue Mar 8, 2021 · 1 comment
Closed

PHP Syntax Highlighting Bug #118450

ghost opened this issue Mar 8, 2021 · 1 comment
Assignees
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@ghost
Copy link

ghost commented Mar 8, 2021

Issue Type: Bug

Write following Code:

<?php

/*** GET ***/
$System->Router('DELETE /push/*', function ($self, $variables) {
    ...
});
$System->Router('GET /push', function ($self, $variables) {
    ...
});

Now you can see, that everything after /push/* will be handled as a comment in highlighting. But it's not. Is this a known issue?

VS Code version: Code 1.54.1 (f30a9b7, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 20.3.0 (macOS Big Sur 11.2.2)

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz (8 x 2300)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.07GB free)
Process Argv --crash-reporter-id 69e80782-52da-46e5-9b3f-4263165c9e57
Screen Reader no
VM 0%
Extensions (22)
Extension Author (truncated) Version
html-snippets abu 0.2.1
swagger-viewer Arj 3.0.1
xml Dot 2.5.1
vscode-html-css ecm 1.10.2
php-debug fel 1.14.9
php-intellisense fel 2.3.14
html-snippets gey 0.2.3
unibeautify-vscode Gla 0.8.2
gc-excelviewer Gra 3.0.41
beautify Hoo 1.5.0
vscode-picture Jak 1.0.0
vscode-sshfs Kel 1.19.4
tag-inserter l7s 1.4.0
prettify-json moh 0.0.3
jupyter ms- 2021.3.619093157
hexeditor ms- 1.4.0
vscode-yaml red 0.16.0
html5-skelton sha 1.0.1
html5-boilerplate sid 1.1.1
sonarlint-vscode Son 1.20.1
HTML5-extension-pack wal 0.0.3
markdown-all-in-one yzh 3.4.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt617cf:30253240
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244cf:30256637
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30265998
pythontb:30265425
vspre833cf:30267465

@roblourens
Copy link
Member

We have had other sql highlighting bugs but I don't see one for this exactly. Filed atom/language-php#418 upstream

@roblourens roblourens added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Mar 8, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

1 participant