JamesPlayer
JamesPlayer

Reputation: 1874

sass go to declaration

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!

Upvotes: 3

Views: 502

Answers (1)

high5
high5

Reputation: 471

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.

Upvotes: 3

Related Questions