sass go to declaration

最后都变了- 提交于 2019-12-12 16:01:39

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/11389441/sass-go-to-declaration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!