I was reading this thread/rant about Haml here:
http://www.ruby-forum.com/topic/139479
And had an idea, just wondering how difficult would it be to make editors
more haml-friendly.
Does not really matter which editor, TextMate, GEdit, whatever ...
But this feature I thought of got to do with auto-indenting, or more
specifically with *editing*
of indented code/markup.
So you have your markup/code indented and all .. and you want to remove a
div.
%head
%div
%content
Now when you remove the %div, it will make %content indented 4 spaces
instead of 2,
but wouldn't it be cool if it auto-corrected and moved %content and the
whole nesting
beneath it just 2 spaces backwards?
And same if you just want to leave the %div in place, but move %content
one-level higher
so you click backspace, and it auto-deletes 1. two spaces 2. the whole
%content hierarchy
Usually I use quite a lot of vertical-selection + delete when editing
haml/sass.
What do you think HAMLists, will something like this make your life easier?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---