Sublime文本:添加css3语法高亮显示

时间:2022-03-04 07:37:39

Is it possible to add css3 properties like : "animation-name", "animation-timing-function", or values like : "display-table" in CSS syntax highlighting.

是否可以在CSS语法高亮显示中添加css3属性,例如:“animation-name”,“animation-timing-function”或类似值:“display-table”。

I guess it implies *css_completions.py* but I don't know how to proceed.

我想它暗示* css_completions.py *,但我不知道如何继续。

http://img407.imageshack.us/img407/4408/54ki.png

2 个解决方案

#1


6  

Luckily you're not the first one to have this question, and this guy has made a package that does just that: https://github.com/i-akhmadullin/Sublime-CSS3

幸运的是,你不是第一个有这个问题的人,而且这个人做了一个包就是这样:https://github.com/i-akhmadullin/Sublime-CSS3

At the bottom there's a installation-guide using the package manager.

在底部有一个使用包管理器的安装指南。

#2


1  

I just pushed what I hope will be the definitive CSS3 package on Package Control. It's for Sublime Text 3 only, but it has comprehensive support for CSS3 properties, values, @-rules, etc. It also has a full set of completions for each property.

我只是推动了我希望将成为Package Control上最终的CSS3包。它仅适用于Sublime Text 3,但它全面支持CSS3属性,值,@ -rules等。它还为每个属性提供了一整套完成。

Try it out. If you have any problems, please open an issue on Github here.

试试看。如果您有任何问题,请在此处在Github上打开一个问题。

#1


6  

Luckily you're not the first one to have this question, and this guy has made a package that does just that: https://github.com/i-akhmadullin/Sublime-CSS3

幸运的是,你不是第一个有这个问题的人,而且这个人做了一个包就是这样:https://github.com/i-akhmadullin/Sublime-CSS3

At the bottom there's a installation-guide using the package manager.

在底部有一个使用包管理器的安装指南。

#2


1  

I just pushed what I hope will be the definitive CSS3 package on Package Control. It's for Sublime Text 3 only, but it has comprehensive support for CSS3 properties, values, @-rules, etc. It also has a full set of completions for each property.

我只是推动了我希望将成为Package Control上最终的CSS3包。它仅适用于Sublime Text 3,但它全面支持CSS3属性,值,@ -rules等。它还为每个属性提供了一整套完成。

Try it out. If you have any problems, please open an issue on Github here.

试试看。如果您有任何问题,请在此处在Github上打开一个问题。