GEdit plugin formatting Ruby and ERB code now!

I have published some time ago a GEdit plugin for formatting Ruby code.

Now I just updated the plugin and added support for formatting html.erb and .xml.erb files too.

The main idea  is to make this plugin a generic language code formatter for GEdit, contributions are welcome.

As told before, to install it, grab the source from GitHub and copy all files to ~/.gnome2/gedit/plugins.

To download the files using Git use the following command line:

git clone git://github.com/urubatan/gedit_formatter.git

If you want to contribute just send a pull request in GitHub or send me a patch by e-mail.

To use the plugin, just press CTRL+ALT+F after installing and enabling it.

If you do not have git installed, you can download a tarbal with the latest sources from this link.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Tired of looking at the console to know if the tests passed or failed?

AutoTest (part of ZenTest suite) is a very useful tool when you are working with Ruby On Rails development, but I always had problems configuring cool notifications for […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

GEdit plugin for formatting ruby code

I work with Java for a long time, and I’m used to Eclipse facilities, but to work with ruby on rails I think an IDE is not needed, I […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Dirty models and partial SQL updates for Rails 2.0.2

First of all, this is not my code, this is just a backport of a Rails EDGE feature to work with Rails 2.0.2 …

I searched through Rails code and […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Lazy men’s rails plugin - mydry

I have been using this little plugin I wrote for some time now.

The main idea is that I always start working in the migrations, and there I define: not […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

easyb-test - Grails Tests Made Easy (in a way your boss can read)

Have you ever read about easyb? and about Grails? May be you answer yes to one or both previous questions, but this is the first time you will find […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Google App Engine - When will programmers learn that a language is just a tool?

Google has launched a very cool application server, it is called Google App Engine.

Kudos to google again :D

But this application server started a big war on the internet, lots […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

new layout for the blog

What do you think about this new layout?

The disposition of the things around …

I was getting tired of the old one (I don’t even have a mac :D ) […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

Some problems in the blog

Sorry people!
I have changed the hosting of this blog some days ago, and since then the permalinks ware not working.
The problem was that I forgot to copy the .htaccess […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!

A better “try()” for Ruby, why not do the Groovy way?

The new method in Ruby 1.9 is making some people happy and creative too.
The only problem with that in my opinion is that every one is fixed about using […] Continue Reading…

If you enjoyed this post, make sure you subscribe to my RSS feed!