当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Good CSS Editors for Linux (Ubuntu)
帖子发表于 : 2007-09-11 19:12 
头像

注册: 2007-04-17 13:32
帖子: 775
地址: 上海理工大学
送出感谢: 1
接收感谢: 0 次
网址:http://tips.webdesign10.com/good-css-editor-for-linux-ubuntu
Good CSS Editors for Linux (Ubuntu)
Submitted by WebDesign10 on 2006, August 27 - 1:21am. CSS | Free Software | jEdit | Linux | Ubuntu | vim

There are many good CSS editors for Linux. Basically, all you really need is a text editor that will perform syntax highlighting on CSS files. Some of the programs below are just simple text editors, while some offer additional features.
Cream / Vim for Editing CSS

Cream is a version of Vim that makes Vim easy to use. I highly recommend Cream if you are looking for a simple text editor, or want to learn Vim the easy way. Here is a screenshot of editing some CSS with Cream:

Using Cream/vim to edit a CSS file

To install Cream on Ubuntu (or any Debian-based Linux), use:

sudo apt-get install cream

[Note: you may need to have the Universe repository enabled to install some of these programs on Ubuntu.]

Here is a screenshot of using Vim in GNOME Terminal to edit some CSS:

Using Vim to edit CSS

Vim comes pre-installed on most (all?) Linux distros. To install the graphical version of Vim (Gvim) on Ubuntu, type sudo apt-get install vim-gnome in a terminal.

If you are using Vim in a terminal and want to switch to Gvim just go into normal mode (i.e., push ESC, Ctrl-c, or Ctrl-[) and type :gui. Gvim will launch and the terminal will pass the file to Gvim.
Quanta as a Linux CSS Editor

Quanta Plus is a great HTML and CSS editor. I usually use it for editing HTML, CSS, and PHP files directly on remote servers over FTP. Quanta has many features. A useful feature of using Quanta for CSS is the color dialog as shown below:

Using Quanta to edit CSS

Here is a larger screenshot of Quanta running on Ubuntu, with CSS documentation browser on the right sidebar, and document structure browser on the left sidebar:

Quanta Plus, a full-featured CSS editor for Linux

To install Quanta on Ubuntu, the following command should work:

sudo apt-get install quanta
cssed

cssed is a GTK-based CSS editor. It has many CSS-specific features, including color picker, and CSS helpers. Definitely worth experimenting with.

cssed is a great css editor for Linux

To install cssed on Ubuntu use:

sudo apt-get install cssed
gedit as a CSS Editor

gedit — the default text editor for GNOME — works well as a simple CSS editor. It lacks a color picker tool though.

Using gedit for editing CSS
SciTE as a CSS Editor

SciTE is a great text editor that runs on both Linux and Windows. I don't know of any special features that SciTE has for editing CSS, but I often use it to print CSS files, especially when using Windows. SciTE can also export your CSS files to PDF format while preserving the syntax highlighting. SciTE is a nice editor for the toolkit.

SciTE editing a CSS file
jEdit as a CSS Editor

jEdit is a great editor that is written in Java, but I've stopped using it because it runs a little too slow on my computer. You can install jEdit on Ubuntu, but if you are having problems, make sure that you have Sun's version of Java installed on your computer. The GNU version might not work as well.

jEdit on Ubuntu
Bluefish as a CSS Editor

Bluefish is another text editor that you can use to edit CSS files on Linux. One great feature of Bluefish is the CSS reference that is included. Here is a screenshot of Bluefish on Ubuntu, editing some CSS:

Bluefish on Ubuntu, editing CSS

To install Bluefish on Ubuntu, just use:

sudo apt-get install bluefish
Summary

Which CSS editor should you pick? I recommend trying several. If you just want a simple text editor that highlights your CSS then try Cream or SciTE. If you want more features, try Quanta (KDE), Bluefish (GNOME), or cssed (GNOME). I am using GNOME, but I often use Quanta, because it is great for editing files over FTP (Konqueror is my main FTP program). I like emacs' features for editing HTML, but not so much for CSS because Emacs CSS mode adds an extra space where I don't want it. I'm sure there is a workaround, but I haven't had time to fix it yet.


_________________
http://wangjisheng.blogbus.com/


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-09-14 17:22 

注册: 2006-09-20 19:56
帖子: 768
送出感谢: 0 次
接收感谢: 1
最爽的CSS编辑器我觉得是GVIM(VIM)了,其本身的编辑特性加上语法高亮以外,还有根据上下文具体环境的实时智能补全,补全项目包括属性及其对应的属性值。上次编辑Emacs Muse使用的的CSS文件就用的它(比Emacs里的CSS Mode高效一点儿),不方便的是不能快捷的看到每次修改的作用对象和作用效果。

不过我完全不做网页设计,不知道在很复杂的工程中是什么样的情况(Muse用的那个CSS文件只有六七百行,并且只是静态的页面,也许说明不了太大问题)。


最后由 zhangsong023 编辑于 2007-09-22 21:54,总共编辑了 2 次

页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-09-14 19:21 
头像

注册: 2007-04-17 13:32
帖子: 775
地址: 上海理工大学
送出感谢: 1
接收感谢: 0 次
引用:
根据上下文具体环境的实时智能补全,补全项目包括属性及其对应的属性值

真有那么厉害?
怎么装啊?


_________________
http://wangjisheng.blogbus.com/


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-09-22 21:55 

注册: 2006-09-20 19:56
帖子: 768
送出感谢: 0 次
接收感谢: 1
C-x C-o


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-09-26 10:16 

注册: 2007-02-02 11:40
帖子: 68
送出感谢: 0 次
接收感谢: 0 次
KOMPOZER 和BLUEFISH 是最好用的,尤其是KOMPOZER 的CSS 编辑器,用来排版比DW 还好用


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译