lsp go to definition is not working for scss modules in react app #10370
Unanswered
victororlyk
asked this question in
Troubleshooting
Replies: 3 comments
-
Have the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Part of the bug template is the Helix log capture. For LSP issues it's very likely there's useful stuff in there. Can you take a look? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The definition that helix jumps to comes from the LS, not helix itself. Does this happen in other editors with the same LS? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
when using scss modules and
gd
it will lead to some wrong filenode_modules/react-scripts/lib/react-app.d.ts
isntead of scss module file which leaves in the same folder.Reproduction Steps
I tried this:
gd
on styles.classI expected this to happen:
i expect to go that class
Instead, this happened:
it throws me in node_modules/react-scripts/lib/react-app.d.ts
Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
alacritty
Helix Version
helix 22.12 (96ff64a)
Beta Was this translation helpful? Give feedback.
All reactions