Home Download Buy Blog Forum Support

Re-Indent is just wrong.

Re-Indent is just wrong.

Postby jgpippin on Thu Apr 11, 2013 7:08 pm

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:

Code: Select all
         "file_exclude_patterns": [
               "sftp-config.json"
            ]


when re-indented becomes

Code: Select all
         "file_exclude_patterns": [
         "sftp-config.json"
         ]


or, in php:

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


becomes

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


What am I doing wrong?
jgpippin
 
Posts: 3
Joined: Wed Mar 27, 2013 3:30 pm

Re: Re-Indent is just wrong.

Postby adzenith on Thu Apr 11, 2013 9:23 pm

Reindent is just kind of broken.
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 20 guests