Skip to content

Indentation in Brackets 1.3 does not work as expected #38

@rasmk

Description

@rasmk

After Brackets update to 1.3, TS code indentation started behaving strangely.
Example:

  • I type if ( - right after I open parenthesis, the whole line jumps one or two tabs to the right
  • I continue typing 2 > 1) { - right after the brace the whole line jumps to the column 1 (all indentation spaces are removed)
  • afterwards the line remains there, subsequent lines are aligned to it

When I downgrade Brackets to 1.2, everything is fine again. Looks like a breaking change in 1.3.

So far the solution is to stay on 1.2. The problem needs a solution though.
Meanwhile, is there a way to disable the formatting in the plugin with some configuration options? I had a look into the sources, but I have not found anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions