microsoft / vscode-css

CSS Textmate grammar for syntax highlighting
Other
15 stars 11 forks source link

CSS aspect-ratio is not being colored correctly in the editor #26

Open EddieRich opened 7 months ago

EddieRich commented 7 months ago

Type: Bug

  1. Open a css file.
  2. Add the aspect-ratio property to any selector.
  3. Not the coloring is not 'standard'.

This has been an active problem for over 2 years and the issues keep getting closed without being fixed.

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) E-2176M CPU @ 2.70GHz (12 x 2712)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.71GB (17.05GB free)| |Process Argv|--crash-reporter-id d340edea-2563-416e-88af-89baa3fb794c| |Screen Reader|no| |VM|0%|
Extensions (5) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|2.4.4 es7-react-js-snippets|dsz|4.4.3 LiveServer|rit|5.7.9 vscode-icons|vsc|12.7.0 open-in-external-app|YuT|0.10.0
michalDi commented 4 months ago

I was just doing a tutorial and was wondering what was up. VS Code autocomplete for aspect-ratio worked, but all other CSS properties were blue color and aspect-ratio was white. Google brought me here. I guess it's a bug then.

frillsdev commented 3 months ago

+1