Replies: 2 comments
-
Functions and mixins also have Go to Definition support (except built-in methods like
I'm not 100% sure what you mean here. Do you mean you want to use Go to Definition on Navigation for |
Beta Was this translation helpful? Give feedback.
-
Yes, this is it, I’ve mapped special keybinding to at-rule scope so it handles document links same as symbol definition. |
Beta Was this translation helpful? Give feedback.
-
Currently only variables (?) have proper "Go to Definition" implementation.
Maybe it would be great to add it for
@use
,@forward
and import namespace references. This would also align it with how TypeScript works.Consider following example:
Only
$red-color
has "Go to Definition" support. What I would expect is thatvariables
andvariables2
also have that (positioned at line 1, column 1 in respective file), and if there is noas
aliasing, clicking on@use "variables"
would also take you to that file (currently this is implemented as classic link).Beta Was this translation helpful? Give feedback.
All reactions