Wrong indentation when moving line of code out of if-statement
Closed this issue · 1 comments
helperman commented
Description
There are few issues:
- Wrong indentation happens of a moved line of code when moving line of code out of if-statement.
- Wrong indentation happens of a surrounded code (if-statement itself become without indentation)
Reproduction steps
Steps to reproduce the behavior:
Use "move line up"-hotkey to move line out of if-statement:
Expected behavior
The moved statement should keep the same indentation as if-statement.
The if-statement should not change it's indentation.
Actual behavior
The moved statement has no indentation when moved before if-statement.
The if-statement has no indentation after moving a line inside a body of if-statement.
mark-wiemer commented
Thanks for reporting, I'll track this as a duplicate of #319--this will be fixed when that one is.