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
I am experiencing a problem with curly brackets auto-formatting in if and for blocks (could be other blocks affected as well): If there is a comment on a line where the block starts and the opening curly bracket is on the next line, the bracket is placed on the first line, after the comment, which breaks the block.
if ($true) # comment
{
echo 'OK'
}
foreach ($a in $b) #comment
{
echo $a
}
Expected Result
if ($true) { # comment
echo 'OK'
}
foreach ($a in $b) { #comment
echo $a
}
Actual Result
if ($true) # comment {
echo 'OK'
}
foreach ($a in $b) #comment {
echo $a
}
The text was updated successfully, but these errors were encountered:
System Details
Windows 10 64-bit
Issue Description
I am experiencing a problem with curly brackets auto-formatting in
if
andfor
blocks (could be other blocks affected as well): If there is a comment on a line where the block starts and the opening curly bracket is on the next line, the bracket is placed on the first line, after the comment, which breaks the block.Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: