gedit + plugins = \o/

June 17th, 2008

I’ve been looking for good editor for Ubuntu for a while, and I think I found it.  After reading Micah Carrick’s post on Customizing gedit as a Web Developer’s IDE I was amazed how much gedit with plug-ins could do. It almost have anything I want in an editor. I don’t know if I would call it an IDE though. Missing debugging and CVS/SVN is kinda important in an IDE. There are debugging plug-ins for Perl and Python, but not for PHP, Java and JS (which is the languages I mostly use).

Personally I like the same preferences that Micah uses. I enable indent with 4 spaces, turn of line wrapping and enable line numbering. Read a more detailed description in Micah’s post.

Plug-ins I use:

- Gemini
A plug-in which auto-completes parenthesis, brackets and so on (the characters: < { [ ' " " ' ] } >) and nicely indents and places the cursor where you (me) want it. This plug-in is an absolute life saver!

Before return is pressed (notice that there is no “}”):

{//Cursor here

After return is pressed:

{
    // Cursor here
}

- Symbol Browser
Shows a list of classes, functions, enums and class fields.

- Snippets
This plug-in allows you to define snippets of codes which appear when you use a tab-trigger. This one saves you a lot of time. Make a for-loop with a few keystrokes. See my post on how to use snippets.

Screenshot of my gedit (oblivion theme):

If you use an awesome plug-in or something for gedit please leave comment!

One Response to “gedit + plugins = \o/”

  1. Ole Bakstad » Auto brackets and indent in VIM Says:

    [...] I mentioned in post gedit + plugins = o/ you can make gedit auto complete {}, insert proper indentation and place the cursor in the right [...]

Leave a Reply