GMate is a set of plugins for Gedit that aims to get a better development environment using this text editor, and some improvements for gtksourceview2 language files, especialy for Ruby and Rails development.
1. gtksouceview2 for ruby lang are described here
2. Smart Indentation plugin.
This is a plugin based on regular expressions, inspired by jEdit syntax files, where I found some base expressions for use here (in fact almost a copy and paste).
you can see the plugin in action in this screencast:
3. Extract partial plugin.
This is a Rails specific plugin to help partial extraction from an existing rhtml file, just select the part of text you want to put in partial and press CTRL+ALT+P to se a little window asking for partial name, put the name you want. A new partial will
be created in the same folder of current file with the name:
<pre>_[name you informed].[extension of current file]</pre>
then the selected text will be transfered to new file and a render partial statement
will appear in original document… Folow the screenshots to see what I mean:
Select te desired text:
Enter the partial name:
Results in a new file:
and the partial statement:
Save the new file and old file to complete the operation.
See plugin in action in this screencast:
4. Todo List plugin… Follow this link.
WARNING: if you have custom code snippets, custom themes and custom plugins (like edited an existing plugin) backup your ~/.gnome2/gedit before installing using install.sh.
To download Gmate as a tarball click here
Clone directly from github:
git clone git://github.com/lexrupy/gmate.git
See also Rails Footnotes for linux, to meet a very usefull plugin used for Mac and Textmate Users