Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Even better support for HAML in Netbeans?

This plugin is pretty good, definitely better than plain-text.. but I'm longing for a little more. Code completion, the Netbeans code generator shortcuts, 'ri' integration for looking up documentation like the .erb files have..

Does anyone have some tricks, is there a different plugin for this type of functionality in Netbeans?

Definitely would like SASS support for Netbeans as well!

like image 312
revgum Avatar asked Sep 21 '09 21:09

revgum


3 Answers

Here http://code.google.com/p/postcomment/downloads/detail?name=org-netbeans-modules-haml.nbm&can=2&q=

like image 123
Osvaldo Mwanalezi Avatar answered Nov 18 '22 18:11

Osvaldo Mwanalezi


Everybody seems to be craving for proper Netbeans HAML/SASS support. Let's motivate someone to code it :

http://www.donanza.com/jobs/p1413667-software_development_netbeans_haml_support_plugin

like image 5
virtualmice Avatar answered Nov 18 '22 20:11

virtualmice


I came across a problem in the HAML-plugin by Dylan Bruzenak (the one up on google) that it wouldn't recognize the new Ruby 1.9 hash syntax in HTML attributes.

So I did some hacking and modified the haml.nbs inside <nbm>/netbeans/modules/<org-netbeans-modules-haml.jar>/org/netbeans/modules/haml to support this.

Replace line 50 with

TOKEN:ruby_symbol:((':' [^ ' ' '=' '}' '"']+) | ([^ ':' '}' '"']+ ':'))
like image 2
Luksurious Avatar answered Nov 18 '22 18:11

Luksurious