Sublime Forum

Re-Indent is just wrong

#1

When I use the the reindent command on ST2, the results I get are just plain wrong.

Given how everything else about ST2 works, I’m assuming this is because I’m just using it wrong or have failed to account for something, but Googling has not provided an answer.

For instance:

"file_exclude_patterns": "sftp-config.json" ]

when re-indented becomes

"file_exclude_patterns": "sftp-config.json" ]

or, in php:

var $variables = array( 'table' => array(), 'select' => array(), 'join' => array(), 'where' => array(), 'order' => array(), 'having' => array(), 'hint' => array(), );

becomes

var $variables = array( 'table' => array(), 'select' => array(), 'join' => array(), 'where' => array(), 'order' => array(), 'having' => array(), 'hint' => array(), );

What am I doing wrong?

0 Likes

#2

Reindent is just kind of broken.

0 Likes