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
For comparison, in Sublime, the Request typehint, which is a class name, is yellow, and the bool one is purple. Scopes are a little different in Sublime, but notably the bool typehint does not include storage.type.php:
I understand that if this is actually a bug in the grammar I should send a PR to Atom's php-language repo, but is that what's happening here? Can anyone provide some more insight or point me to where I would start working on a fix?
Thanks.
VS Code version: Code 1.44.0 (2aae1f2, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 18.7.0
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz (4 x 3500)
@roblourens the upstream PR has been merged, do I need to submit one here now to run the update script and pull in the new grammar, or will that happen automatically? Thanks!
Thanks for the ping. We do this periodically and I'll do it in December (we are stabilizing the November release this week), but I would accept a PR next week too.
Issue Type: Bug
PHP function parameters receive the exact same scope (and are therefore the same colour) whether they are classes or primitive types.
VS Code: class names should be yellow and other keywords purple, but both the
Request
andbool
typehints are purple. They are both scoped:For comparison, in Sublime, the
Request
typehint, which is a class name, is yellow, and thebool
one is purple. Scopes are a little different in Sublime, but notably thebool
typehint does not includestorage.type.php
:I understand that if this is actually a bug in the grammar I should send a PR to Atom's
php-language
repo, but is that what's happening here? Can anyone provide some more insight or point me to where I would start working on a fix?Thanks.
VS Code version: Code 1.44.0 (2aae1f2, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 18.7.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Extensions (13)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: