Refactoring/Extract Partial for HAML

Hi,

Is it possible to refactor HAML files to extract partials like you can in RHTML/erb? When I try to do so the Extract Partial menu is missing when in a .haml file. (See attached)
Fullscreen-1.jpg

Thanks!

2 comments
Comment actions Permalink

Hi Mathew.
I also think that such refactoring option should be available in HAML templates. I submited a feature request on RubyMine bug tracker: http://youtrack.jetbrains.net/issue/RUBY-5656.

0
Comment actions Permalink

Thanks for that - I've voted it up - its good to see how quickly JetBrains are adding in new functionality which people are asking for - best purchase decision ever.

0

Please sign in to leave a comment.