My top 10 Gedit plugins
Gedit can be a really awesome editor if you give it a few plugins and an open mind. Here are a few of my favorites.
- MultiEdit - This bad boy lets you edit in multiple locations by only typing once. You would be AMAZED at how useful this is.
- Snippets - One of the default plugins, this one is sort of hard to explain because it does so much. It lets you create shortcuts for code that are expanded when you hit tab, but it also includes support for placeholders, wrapping text in tags, and lots of other crazy stuff.
- Zen Coding - This one’s my own, but the magic really comes from the Zen Coding library. Zen Coding lets you write a sort of HTML and CSS shorthand which is evaluated and expanded. Here’s a video to explain.
- AutoTab - A really simple plugin that tries to figure out the tab width of the current document, and sets Gedit to use that.
- Line Tools - Gives you some shortcuts to do stuff like delete current line (CTRL+D), duplicate current line (CTRL+SHIFT+D), move selected lines up/down (ALT+UP/DOWN), etc. Really, really useful.
- Save Without Trailing Space - Automatically strips any whitespace from ends of lines when you save, and can also add a blank line at the end of the file upon saving. Really useful for patches to projects like Drupal which reject patches with extra whitespace.
- Tab Switch - Lets you switch between tabs using the commonly used CTRL+TAB and CTRL+SHIFT+TAB.
- Todo - Gives you a little window that displays any TODO items in your code comments, among other keywords. Really handy for catching up on what you were working on the day before or keeping track of places to improve.
- External Tools - Gives you the ability to execute any command on the current document or selected text. The possibilities are endless with this one. Perhaps you want to validate your PHP syntax or run your HTML through HTMLTidy or check your JS with JSLint, etc.
- Pastie for Gedit - Lets you create a pastie (see http://pastie.org) out of the currently selected text. Great for sending snippets to people quickly.
