double-brackets-with-spaces
Insert spaces automatically between double brackets
FabioAntunes 1,708 1 2.1.0 MIT GitHub

double-brackets-with-spaces

Atom package that inserts spaces automatically between double brackets.

Useful for AngularJS, Angular 2, Laravel's Blade and other template systems that use double braces syntax;

Double brackets example

Useful screencast

There's also support for single brackets, just enable it on package settings.

Single brackets example

Another useful screencast

Config Options

  • Enable single brackets support, disabled by default
    • Only on imports
    • Always
  • Enable adding spaces between brackets on pasted text, disabled by default