If you use textmate you can set the amount of spaces your tab key will use (called soft tabs) at the bottom of the window. As mentioned before, Ruby/Rails gurus recommend 2 spaces per "tab" - which is probably why HAML/SASS is two spaces.
On Jan 16, 6:12 am, Hampton <[EMAIL PROTECTED]> wrote: > Its in the official Haml instructions to set soft-tabs... which is the > Rails default and recommended. And, I'm pretty sure is also the Merb > default and recommended. > > Two spaced "soft tabs" is recommended by most Rubyists. > > I like this article on the topic.http://www.jwz.org/doc/tabs-vs-spaces.html > > -hampton. > > On Jan 16, 2008 4:32 AM, Daniel N <[EMAIL PROTECTED]> wrote: > > > > > On Jan 16, 2008 5:43 PM, Nthalk <[EMAIL PROTECTED]> wrote: > > > > I also cannot stand the wasted second keystroke. > > > > It kind of flies in the face of the DRY philosophy. > > > > Please, allow tabs. > > > > On Dec 5 2007, 10:41 pm, Nathan Weizenbaum < [EMAIL PROTECTED]> wrote: > > > > We'd like to make the input and output tabulation configurable > > > > eventually. It's tricky because there's a significant amount of > > > > two-space-specific logic that goes on with stuff like input validation > > > > and filter reading. But eventually, maybe. > > > > > In the meantime, learn to love character 32 ;-). > > > > > - Nathan > > > > > [EMAIL PROTECTED] wrote: > > > > > It's torturous, yet I can't seem to pull away. But we have > > > > > differences...I am a lover of tabs, and HAML cannot do without > > > > > spaces...will we ever see eye to eye? > > > > > > (I'd love to see HAML move to a parser that can take the double-space > > > > > and replace it with tab. Feasable?) > > > I just set my editor to use soft tabs with 2 spaces... I still use the tab > > key but I get spaces... > > > just my 0.02 > > > -Daniel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
