#76 open
Martin Frost

Content-aware indentation

Reported by Martin Frost | December 24th, 2010 @ 12:33 PM

What I did:

I created a new ruby class, and pushed tab.

What I expected to happen:

I expected the editor to output two spaces, since ruby uses two-space indentation.
This is probably applicable for other languages as well. I know that Haml and SASS demand two-space indentation or they'll give you an error message.

What actually happened:

The editor outputted a tabstop character.

Comments and changes to this ticket

  • rsms

    rsms December 31st, 2010 @ 03:03 AM

    • State changed from “new” to “open”
    • Tag set to @low, extension, plugin, text, textparser

    The future text parser API should allow text parsers to implement this feature as it is highly domain-specific.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Referenced by