You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Squeak Developer, I want temporary variables set in a new line when I have a loop so that there is a better overview and I don't get confused with all the pipe chars |.
Further details
currently a do-loop with a temp var looks like this:
aNode elements do: [:element | | isLast |
isLast := element = aNode elements last.
for a better overview the temp var should be in a newline like this
aNode elements do: [:element |
| isLast |
isLast := element = aNode elements last.
Acceptance Criteria
Given any method with a temp var in a block. When the method is formatted, then the temp var is set in a new line
The preference can be turned on and off in the poppyprint-preferences
Code Example:
aNode elements do: [:element |
| isLast |
isLast := element = aNode elements last.
The text was updated successfully, but these errors were encountered:
Problem to solve
As
Squeak Developer
, I wanttemporary variables set in a new line when I have a loop
so thatthere is a better overview and I don't get confused with all the pipe chars |
.Further details
currently a do-loop with a temp var looks like this:
for a better overview the temp var should be in a newline like this
Acceptance Criteria
the method is formatted
, thenthe temp var is set in a new line
The text was updated successfully, but these errors were encountered: