萨斯去宣言 [英] sass go to declaration

查看:170
本文介绍了萨斯去宣言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道任何支持去声明的编辑器对于混合,函数,sass中的变量?

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

PHPStorm声称,但它只适用于声明是在同一个文件中,而不是从外部文件导入。

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

干杯

更新:
原来 WebStorm 开箱即用!

推荐答案

这应该可以使用 ctags 语言配置选项,用于配置sass语言定义,然后使用的任何编辑器支持 ctags。在Windows平台上,我使用编辑器列表中的Zeus编辑器,它与ctags很好地配合使用。

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.

这篇关于萨斯去宣言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆