Getting VSCode Go-To (Ctrl+Click) to work with CSS modules #5444
Replies: 8 comments 4 replies
-
Same here, it should open the css file at the clicked class position |
Beta Was this translation helpful? Give feedback.
-
same issue here, any solution? |
Beta Was this translation helpful? Give feedback.
-
same here, not solution yet? |
Beta Was this translation helpful? Give feedback.
-
Experiencing the same issue. Mac M1, VS Code 1.72.2 Universal |
Beta Was this translation helpful? Give feedback.
-
I could resolve this in a react toy project by adding React CSS modules too. Haven't reviewed the code and currently both extensions installed so try at your own risk. |
Beta Was this translation helpful? Give feedback.
-
React CSS modules works like a charm (so far, 2 minutes into use)! Adds a really nice lint-feature of highlighting any classnames using a selector not implemented in the style-file, with a quick fix of adding the selector in the |
Beta Was this translation helpful? Give feedback.
-
Highly recommend using typescript-plugin-css-modules. |
Beta Was this translation helpful? Give feedback.
-
Having trouble with React CSS Module, it slow down file saving by multiple second. This extension does the trick for me |
Beta Was this translation helpful? Give feedback.
-
I'm working on a typescript project with Vite.
I'm importing a CSS Module like so:
Somehow Vite's CSS module typings take over the intellisense functionality of VSCode.
So when I ctrl+click to open the .scss file, I instead open Vite's
client.d.ts
.Is there any way to get this working correctly?
Beta Was this translation helpful? Give feedback.
All reactions