[scss] Display a wrong selector preview when using sibling combinators in SCSS, Less #169900
Labels
bug
Issue identified by VS Code Team member as probable bug
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
help wanted
Issues identified as good community contribution opportunities
Milestone
Type: Bug
When using both style nesting and sibling combinators (
+
and~
) in SCSS or Less, VSCode will display a wrong selector preview. I've determined that this error also occurs when no extensions are running.For example, if writing a stylesheet like this:
VSCode will display a wrong selector preview like this:
Expect this:
Same when using
~
:Expect this:
VS Code version: Code 1.74.2 (e8a3071, 2022-12-20T10:29:14.590Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: