最好的非WYSIWYG CSS编辑器? [英] Best non-WYSIWYG CSS Editor?

查看:135
本文介绍了最好的非WYSIWYG CSS编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个强大的CSS文本编辑器。我不需要所见即所得的能力。现在我使用Vim,Aptana和Visual Studio 2008取决于项目,但我想知道是否有更好的解决方案。免费更好。



我想要所有显而易见的功能:




    <

$ b p>几个较不常见的:




  • 自动格式化

  • 自动封锁注释

  • 不同文字大小的评论和代码



如果可能,看到任何地方。我通常在一行上写CSS规则,所以我可以一次看到很多规则:

  div#big-box {颜色:#000; font-family:Georgia,serif; line-height:2em;} 
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black; color:white;}

这是浏览CSS规则的好方法,但水平滚动可能是一个痛苦,所以我想知道是否任何编辑器可以自动扩展CSS规则我目前正在编辑为块格式,每行声明一行:

  div#big-box {
color:#000;
font-family:Georgia,serif;
/ *在这里编辑,所以这个规则集扩展* /
line-height:2em;
}
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black;颜色:白色;}

SO注意:这不是另一个问题

解决方案

记事本++ 做得很好。


I'm looking for a powerful CSS text editor. I have no need for WYSIWYG capabilities. Right now I'm using Vim, Aptana, and Visual Studio 2008 depending on the project, but I'm wondering if there are better solutions. Free is better.

I want all the obvious features:

  • auto-completion
  • syntax highlighting
  • tab/space options

A few less common:

  • auto-formatting
  • auto block-commenting
  • different text-sizes for comments and code

And, if possible, one that I haven't seen anywhere. I usually write CSS rules on one line, so I can see a lot of rules at once:

div#big-box {color:#000; font-family:Georgia, serif; line-height:2em;}
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black; color:white;}

This is great for browsing CSS rules, but the horizontal scrolling can be a pain, so I'm wondering if any editor can automatically expand the CSS rule I'm currently editing to a block format, one line per declaration:

div#big-box {
    color:#000; 
    font-family:Georgia, serif; 
    /* Editing here, so this ruleset is expanded */
    line-height:2em;
}
div#big-box a {color:#06a; text-decoration:none; }
div#big-box a:hover {background-color:black; color:white;}

SO Note: this is NOT an dupe of another question asking about CSS editors, as that one specifically asks for WYSIWYG editors.

解决方案

Notepad++ does a great job.

这篇关于最好的非WYSIWYG CSS编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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