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

[CSS] Go to definition won't work properly. #212064

Closed
codeleeks opened this issue May 6, 2024 · 1 comment
Closed

[CSS] Go to definition won't work properly. #212064

codeleeks opened this issue May 6, 2024 · 1 comment
Assignees

Comments

@codeleeks
Copy link

codeleeks commented May 6, 2024

Type: Bug

failed to go to definition of any css variables from a different css

footer.scss has margin-top: var(--footer-margin-top); where i wanted to go to definition of footer-margin-top defined in _common.scss

but it won't go there somehow.

although scss variable works for me well, i prefer using css variables.

i was wondering if you are going to support this feature or you already have it.

bandicam.2024-05-06.13-24-19-843.mp4

VS Code version: Code 1.89.0 (b58957e, 2024-05-01T02:09:22.859Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 Microsoft Surface (R) Edition (12 x 2196)
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.45GB (7.74GB free)
Process Argv --crash-reporter-id 62af4c4a-8c4f-4c7c-bca9-278edcd3f259
Screen Reader no
VM 0%
Extensions (30)
Extension Author (truncated) Version
project-manager ale 12.8.0
tailwind-docs aus 2.1.0
comment-tagged-templates bie 0.3.3
markdown-mermaid bie 1.23.0
vscode-tailwindcss bra 0.10.5
gitignore cod 0.9.0
git-extension-pack don 0.1.3
githistory don 0.6.20
gitlens eam 14.9.1
vscode-html-css ecm 2.0.9
prettier-vscode esb 10.4.0
auto-rename-tag for 0.1.10
go gol 0.41.4
headwind hey 1.7.0
beautify Hoo 1.5.0
vscode-scss mrm 0.10.0
vscode-language-pack-ko MS- 1.89.2024050109
cmake-tools ms- 1.17.17
cpptools ms- 1.19.9
cpptools-extension-pack ms- 1.3.0
LiveServer rit 5.7.9
svg-preview Sim 2.8.3
tabnine-vscode Tab 3.97.0
cmake twx 0.0.17
intellicode-api-usage-examples Vis 0.2.8
vscode-java-debug vsc 0.57.0
vscode-java-dependency vsc 0.23.6
vscode-maven vsc 0.44.0
markdown-all-in-one yzh 3.6.2
vscode-open-in-github ziy 1.3.6

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31022790
a69g1124:31038041
dwnewjupyter:31035176

@aeschli
Copy link
Contributor

aeschli commented May 7, 2024

The built in css support does not go across files. It's singe file only.

We have #47331 as an issue. There's currently no work planed on this.

@aeschli aeschli closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants