-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Indentation and alignment on enter after declaration and equal
1. Alignment of assignments not working for some reason. 2. Solution is imperfect, because of the last item specifics. 3. Need tests for mid-item enter. #1674
- Loading branch information
Showing
59 changed files
with
479 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.after.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.around.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.augment.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.before.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
5 changes: 5 additions & 0 deletions
5
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sub somesub( | ||
$somevar =<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.fun.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.funExpr.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.func.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.method.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.methodExpr.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.override.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.sub.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValue.subExpr.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$somevar = | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.after.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.around.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.augment.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.before.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
6 changes: 6 additions & 0 deletions
6
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar<caret> | ||
) :attribute | ||
{ | ||
} |
7 changes: 7 additions & 0 deletions
7
plugin/testData/formatter/perl/enter/subs/signatureElementDefaultValueSecond.fun.pl.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sub somesub( | ||
$firstvarlong = 42, | ||
$somevar | ||
<caret> | ||
) :attribute | ||
{ | ||
} |
Oops, something went wrong.