haml filetype

Hello,

I'm just trying out Rubymine.

I've created a file type for haml, but can someone tell me how to ensure that my tabs are 2 spaces for it, in particular? I've set the project coding style to use 2 space tabs, but it hasn't carried over to the haml file type. As haml is whitespace sensitive, it's really slowing me down.

Some other features it'd be awesome to see Rubymine support:

script/console built into ide
textmate features = placing inverted commas around highlighted text, brace generation, #{} generation when keying a hash in a string

But, yes, really losing time on using haml effectively with a four space tab. Any help would be appreciated!

5 comments
Comment actions Permalink

Also, I used to insert breakpoints into my haml documents using debugger. How can I configure the file-type to allow me to set breakpoints within it?

0
Comment actions Permalink

Hi Nicholas,

I've created feature request for debugger support in HAML files - http://www.jetbrains.net/jira/browse/RUBY-2257

0
Comment actions Permalink

Hello Nicholas,

We`ve added an ability to debug haml files.
Will be availble in coming RubyMine EAP.

Thanks,
Oleg

0
Comment actions Permalink

Thanks guys, great response.

0
Comment actions Permalink

We have also updated Rails View and now it shows haml views files under action methods in controllers.

0

Please sign in to leave a comment.