Skip to content

[CLOSED] Fix some indent problems #248

@core-ai-bot

Description

@core-ai-bot

Issue by gruehle
Monday Feb 13, 2012 at 19:58 GMT
Originally opened as adobe/brackets#250


@njx

  • Pressing the TAB key on an empty line no longer inserts an additional tab.
  • Fixed problem that occasionally added an additional space character when typing a tab.
  • Disable built-in "electric chars" feature and replace with a less heavy-handed version. The new version does the following:
    • Only runs when closing braces are typed: "]", "}", or ")"
    • Only runs if the line is all whitespace (except the closing brace)
      This should eliminate the majority of the odd and unpredictable auto-indent behaviors.

This fixes issues #155 and #193.


gruehle included the following code: https://github.com/adobe/brackets/pull/250/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions