如果有 emacs 插件可以给我提供类似的功能,那也欢迎。谢谢!
答案1
我所知道的最好的是css-mode
:
Package: css-mode
Description: A Cascading Style Sheets (CSS) editing mode for Emacs
This is a simple Emacs mode for editing CSS style sheets. It adds
font-locking and some basic auto-indentation support to Emacs. It
works with Emacs 19.34, but should also work with both older and
newer versions as well as XEmacs.
.
While CSS has a C-like syntax, this mode does a better job than
cc-mode of handling the features of the CSS language. It supports
both CSS Level 1 and Level 2.
Homepage: http://www.garshol.priv.no/download/software/css-mode/
答案2
所有“编程”文本编辑器(编辑,赛特,j编辑, …) 支持语法高亮和代码折叠等功能。Ubuntu 存储库中具有特定 CSS/HTML 功能(例如颜色选择器)的更高级的编辑器:
- 已添加 CSS:http://cssed.sourceforge.net/(GTK 应用程序。不过开发似乎已经停止了)
- 量子加(包裹名字量子):http://freecode.com/projects/quantaplus(Qt 应用程序,最近也没有太多开发......)
- 鯥:http://bluefish.openoffice.nl/(GTK 应用程序,最近发布了 2.0 版并包含在 Ubuntu 10.10 中。当前 Ubuntu 仍有 1.0.7)
我推荐 Bluefish。