Easily align your code.
// fromvar easily = 'align';var your = 'code';// tovar easily = 'align';var your = 'code';
Command | Mac | PC and Linux |
---|---|---|
Align code | Ctrl + \ | Alt + Ctrl + \ |
%=
, ?=
, |=
, =>
, etc.)Alignment "=" (Default: right)
Padding "=" (Default: both)
Alignment ":" (Default: left)
Padding ":" (Default: right)
Alignment "=>" (Default: right)
Padding "=>" (Default: both)
// fromvar one = "uno",two="dos",three ="thres",four= "quatro";one = "uno";two+="dos";three -="thres";
// tovar one = "uno",two = "dos",three = "thres",four = "quatro";one = "uno";two += "dos";three -= "thres";
// fromvar numero = {one : "uno",two:"dos",three :"thres",four: "quatro"};
// tovar numero = {one: "uno",two: "dos",three: "thres",four: "quatro"};
# fromone = "uno"two+="dos"three -="thres"four?= "quatro"
# toone = "uno"two += "dos"three -= "thres"four ?= "quatro"
# fromnumero =one : "uno"two:"dos"three :"thres"four: "quatro"
# tonumero =one: "uno"two: "dos"three: "thres"four: "quatro"
// fromvar one = "uno";two+="dos";three -="thres";four*= "four";
// tovar one = "uno";two += "dos";three -= "thres";four *= "four";
// fromvar numero = array("one" => "uno""two"=>"dos""three" =>"thres""four"=> "quatro");
// tovar numero = array("one" => "uno""two" => "dos""three" => "thres""four" => "quatro");
This package has been fully rewritten and has stripped out array, object, and space alignment.
If you would like to see these come back please submit a issue.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.