打印

将gEdit伪装成Textmate

将gEdit伪装成Textmate

gEdit是一个在X系统下的一个非常通用的文字php?name=%B1%E0%BC%AD%C6%F7" onclick="tagshow(event)" class="t_tag">编辑器,功能循规蹈矩,但是有没有想到将它变成“神用的php?name=%B1%E0%BC%AD%C6%F7" onclick="tagshow(event)" class="t_tag">编辑器” php?name=textmate" onclick="tagshow(event)" class="t_tag">textmate呢?

看看下面的图片吧:

智能提示,自动完成。


高亮


文件功能



怎么样,是不是动心了呢?快跟随一起来做吧。

Textmate-like Gedit in few steps

Textmate is really a great text-editor (almost an IDE but faster), it has even the support for latest Ruby/Rails technologies like RSpec. On the GNU/Linux side there are also similar full-featured text editor and one is Gedit.

Gedit can be extended by plugins written in C or in Python, here is a tutorial how to set up a Textmate-like Gedit.
Syntax highlight for RHTML, RJS

By default Gedit supports a lot of languages php, C#, java,.. and Ruby, but Ruby embedded. To enable the sintax highlight in HTML files with embedded ruby code (.rhtml) you have to add 2 files (Thanks to Bitsbam).

From the terminal:

$ wget http://grigio.org/files/x-rhtml.xml; sudo mv x-rhtml.xml /usr/share/mime/packages

$ wget http://grigio.org/files/rhtml.lang; sudo mv rhtml.lang /usr/share/gtksourceview-1.0/language-specs/

Select the plugin you need

The list of the plugins avalaible is growing fast; this is a list of plugins that work well each other.

http://grigio.org/textmate_gedit_few_steps

现在没空翻译,等晚上再说。^_^
附件: 您所在的用户组无法下载或查看附件

TOP

还没翻译好吗?????

TOP

2008-12-05 05:09 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html) @38.103.63.61