HAML

How do you create a new HAML document in Rubymine?  All I see is the RHTML option which should be renamed to ERB anyway (about time).  But there seems to be no explicit option to create a new HAML file?
Thanks.
Bharat

2 comments

Hello Bharat,

How do you create a new HAML document in Rubymine?  All I see is the
RHTML option which should be renamed to ERB anyway (about time).  But
there seems to be no explicit option to create a new HAML file?


The "New File" option allows you to create any kind of file - HAML, CSS,
TXT or whatever you need.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks Dmitry, that works.
But you may want to consider consolidating ALL the new files related options in the new file option and just let the IDE figure out based on the extension (.haml, .erb, etc.) that the user types in.  This way, you don't have to show a lot of options in the new menu.  What do you think?
Bharat

0

Please sign in to leave a comment.