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.
Description
There are few issues:
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.