开发者

How to use code completion on SCSS files in IntelliJ IDEA 10.5?

开发者 https://www.devze.com 2023-04-13 06:28 出处:网络
In general SCSS files are CSS files with some special features. When i want to edit a *.sass file in my project i noticed that IntelliJ knows that file type but there i开发者_开发百科s no code complet

In general SCSS files are CSS files with some special features. When i want to edit a *.sass file in my project i noticed that IntelliJ knows that file type but there i开发者_开发百科s no code completion at all. I know IntelliJ has code completion for CSS files.

Just going to "IDE Settings" / "File Types" / "Cascading style sheets" and adding ".sass" and ".scss" to it, brings auto completion to this file for normal CSS.

Is there a way to enable (add) all the special features of sass to the IntelliJ auto completion for functions like "lighten()" etc., too?


There are several tickets related to this in the JetBrains issue tracker, this one for example. Fortunately, it seems they plan on fixing it soon though.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号