Haml & Sass Editor For Eclipse 19
I did some very basic editors for Haml and Sass a while back. At the time I was interested in Haml. It's elegant to write, and the automatically formatted html it outputs just made it a match made in heaven.
Fast forward a few months and now I'm actually using Haml and Sass. It's as good as I ever hoped it would be. With Haml and a little bit of FormBuilder magic I'm making useful forms in four short lines. Too good.
Anyway coming with using it is the chance to see some shortcomings in my own editors, so I've spent a bit of time updating them. I've set up a proper Eclipse update site, so you can just add 'http://haml.lucky-dip.net' via the 'Help - Software Updates - Find and Install' menu option. That should help minimize a few errors with the various versions of Eclipse and RDT around. All references to the RadRails plugins have been removed. There was a bit of code that I pulled into my plugin, but with RadRails/Aptana in heavy dev it's easier for me to forget about trying to keep up for a while.
Also added is code folding. There's a bit of work still to do on this one. You can currently only fold top level elements. This can be a pain when you've got all your code in one file, but if you're using layouts and partial in a sensible way it should hopefully be of some use.
One thing I found a bit tricky was figuring out which element I was under when I was editing. Some people might like turning on space markers (can you actually do that in Eclipse?), but I figured a character matcher would do the trick. So now as you move around in the editors there'll be a blue box around the element you are currently in. At the moment it just highlights the first letter of the element. I'm going to see if I can get the whole element happening for the next release.
So I hope it works well for people. Set up an Eclipse update site of 'http://haml.lucky-dip.net' and that should keep you informed as new versions come out.
Trackbacks
Use the following link to trackback from your own site:
http://blog.lucky-dip.net/articles/trackback/1
-
Over the long term plants will react better if you landscape for
Comments
-
Good going, this really helps a lot! Keep up the good work, with efforts like yours Haml will only continue to grow (inside and outside of rails).
-
Hi, I am a big HAML fan and I've been using your editor happily for a while. Tom from our team has contributed a lot of code to speed up HAML rendering. I just installed Aptana on a new computer and used the update manager to install your plugin, but now for some reason, when I open a HAML file, the tab for the file says "HAML Editor" and the actual file does not appear. There is just a blank gray space as if no file was open at all. Here's my configuration: Vista (don't ask why) Aptana: 0.2.8.15041 Rails support: 0.8.0.200706201059 HAML editor: 0.5.2 Do you have any idea why I would see a blank page? Thanks!
-
I think there's been a few changes to the Ruby Development Tools plugin which seem to be causing me trouble. I'm working on some fixes so hopefully you can be up and running in the next few days Anthony.
-
I have the same problem with last update of Aptana and Radrails. I hope you will release a fix soon, your editor is really usefull ! Thanks.
-
Thanks, your plugin for redrails is very useful for me.
-
Keep up the good work Brad! I have found your site really helpful. Thanks
-
Keep up the good work Brad! I have found your site really helpful. Thanks
-
lok it plz africantea
-
christmasbox Great! leather sofas furniture
-
hey brad i'm using aptanastudio 1.1.4(latest as on 12/03/08) and just upgraded to radrails 1.0 since then i am unable to open the haml files. i get a error "a error has occured.see log for more details" but the log is empty pls help jags
-
hey brad i'm using aptanastudio 1.1.4(latest as on 12/03/08) and just upgraded to radrails 1.0 since then i am unable to open the haml files. i get a error "a error has occured.see log for more details" but the log is empty pls help jags
-
hey brad i'm using aptanastudio 1.1.4(latest as on 12/03/08) and just upgraded to radrails 1.0 since then i am unable to open the haml files. i get a error "a error has occured.see log for more details" but the log is empty pls help jags
-
hey brad i'm using aptanastudio 1.1.4(latest as on 12/03/08) and just upgraded to radrails 1.0 since then i am unable to open the haml files. i get a error "a error has occured.see log for more details" but the log is empty pls help jags
-
I am also seeing the same problem with radrails 1.0. Please update when you get a chance, I love using your editor. Thanks!
-
I'm talking to Aptana now about them taking control of these editors so it any problems people are having should hopefully be resolved in the near future.
-
http://onrails.org/articles/2007/03/06/mapping-rails-errors-to-flex-fields
-
Try rssnewsdigest.com, a new comprehensive news aggregator. With rssnewsdigest, you don ’t really have to go anywhere else. http://rssnewsdigest.com
-
Hi buy diazepam valium without prescription online G'night
-
find nice favorite site - http://www.adoptionsportalen.se/ablog/entry.php?w=frogs&e_id=276
