In other words, I want to make this:

    $this->ml_seller_rep_table = $sm->get('Admin\Model\MercadoLibre\MercadoLibreSellerReputationFactory');
    $this->sat_entity_table = $sm->get('Admin\Model\SAT\SatEntityFactory');
    $this->sat_invoice_table = $sm->get('Admin\Model\SAT\SatInvoiceFactory');
    $this->sat_invoice_item_table = $sm->get('Admin\Model\SAT\SatInvoiceItemFactory');

Into this

    $this->ml_seller_rep_table      = $sm->get('Admin\Model\MercadoLibre\MercadoLibreSellerReputationFactory');
    $this->sat_entity_table             = $sm->get('Admin\Model\SAT\SatEntityFactory');
    $this->sat_invoice_table            = $sm->get('Admin\Model\SAT\SatInvoiceFactory');
    $this->awsFileTypeTable             = $sm->get('Admin\Model\Aws\AwsFileTypeFactory');

Basically, to standardise the variable declarations by selecting the text and re-indent it with a single key-binding for legibility purposes.

Any ideas of a tool that already does this? This package must be compatible with Sublime Text version 3.

  • 1
    What version of Sublime Text?
    – Tom
    May 12 '16 at 20:57
  • 1
    @Tom : Sublime T3
    – Gus
    May 12 '16 at 21:10
  • @Tom thanks for the edit.
    – Gus
    May 12 '16 at 21:16
  • .@Gus No problem:)
    – Tom
    May 12 '16 at 21:19

You can use the Sublime Alignment Package. You only then have to configure the alignment characters you want Sublime Text to recognise. See here for a tutorial on how to do that.

  • Works like a charm
    – Gus
    May 12 '16 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.