The available plugins can be found on the Gnome/Gedit site
Step One: Get plugins available via apt-get
- Snippets
- File Browser
$sudo apt-get install gedit-pluginsStep Two: Download & uncompress this file
This file contains following Plugins:
- Word Completion Website & Files∞
- Class Browser Website∞ File∞
- Quick Highlight Mode Svn Link∞
- Snap open Website∞ File∞
- Current Line (Set Background Color of Current Line) Svn Link
$tar xvzf gedit-mate.tar.gzStep Three: Colors for Synax Highlighting & Fonts
$cd ./gedit-mate
$ls -a
$>. .. .fonts .gconf .gnome2 plugins rhtml_definitions
You can copy the folders ".fonts .gconf .gnome2" straight in your home directory. The contents of the folders are responsible for the colors of syntax_highlighting and brings you the font "monaco". Keep in mind, that you have to set the font and the background color by yourself.
$ cp -R .fonts .gconf .gnome .gnome2 ~/
Step Four: Create the MimeType for ".rhtml" files
Change in the "rhtml_definitions" directory and copy the files
$cd ./rhtml_definitionsStep Five: Copy the Plugins
$ sudo cp x-rhtml.xml /usr/share/mime/packages/
$ sudo cp rhtml.lang /usr/share/gtksourceview-1.0/language-specs/
Change in the "plugins" directory and copy all of them into /usr/lib/gedit-2/plugins
This was the only directory that worked for me. Maybe ~/.gconf/apps/gedit-2/plugins will work for you.
$cd ../pluginsStep Six: Restart your session and enjoy.
$sudo cp -R ./* /usr/lib/gedit-2/plugins/
9 comments:
Hi,
I'm using gedit for rails development too, works fine !
If I got time I'll start to make a syntax highlight for haml
btw, for the mime type try:
sudo update-mime-database /usr/share/mime
For me works to put the plugins into:
~/.gnome2/gedit/plugins
I used netbeans before gedit. I liked it very much, but netbeans isn't fast enough.
thanks for the tip with update-mime-database, i will try this.
Hi,
can you upload again the file from step two?
Thx
i just did a little write up on using the latest version of gedit for rails, check it:
http://crepuscular-homunculus.blogspot.com/2007/10/gedit-for-ruby-and-everything-else-on.html
I'm stuck behind a firewall that won't let me hit port 8080 where you've got the file for step 2 stored. Do you have an ftp, or can you get it behind port 80 somewhere? Thanks!
the downloadable file can not be found
I created this cheat sheet for rails development in gedit:
http://www.scribd.com/doc/6299312/Gedit-Cheat-Sheet-for-Rails-Development
Post a Comment