Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sass go to declaration

Tags:

css

editor

sass

ide

Does anyone know any editor that supports "go to declaration" for mixins, functions, variables in sass?

PHPStorm claims to, but it only works if the declarations are in the same file, not if they are imported from an external file.

Cheers

UPDATE: Turns out WebStorm does this out of the box!

like image 931
JamesPlayer Avatar asked Mar 15 '26 12:03

JamesPlayer


1 Answers

This should be possible by using the ctags language configuration option to configure a sass language definition and then use any editor that supports ctags. On the Windows platform I use the Zeus editor from that list of editors and it works nicely with ctags.

like image 98
high5 Avatar answered Mar 17 '26 02:03

high5