Closed zigotica closed 2 years ago
Hello and thank you for the issue! Sorry for a late reply.
I have tried to repro what I could see on a screenshot and the completion worked as expected.
cssls
and not from cssmodules-language-server
. This can be fixed with changing the selector from :global(> .cell)
to > :global(.cell)
as global is supposed to only wrap the classname and not the entire selector. Please see css modules docs.
I did notice that with this setup go-to-definition worked, but with .cell
it lands on :global
instead of the sell directly. It would be nice to fix this.
If you are still having an issue can you share a minimal code example that reproduces the issue?
Hi ANton, thanks for your reply. You were right, this was a wrong syntax from my example. Thank you
Hi, thank you for the server.
It is not working when CSS module is used in separate scss file, and we use
:global