打印

伪装成Textmate的gEdit

本帖已经被作者加入个人空间

伪装成Textmate的gEdit

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

截图:




附件: 您所在的用户组无法下载或查看附件
First they ignore you, then they laugh at you, then they fight you, then you win.

TOP

不会用````````

TOP

貌似很不错啊。

TOP

看来好工具是DIY出来的,佩服!
def keyword; end

TOP