mark-wiemer-org/ahkpp

Wrong indentation: press Enter after condition-block in If-statement

Opened this issue · 0 comments

Description

Statement indented one level more than expected if press Enter after condition-block in If-statement.
I know there are several ways to format brakets in if-statement.
I think it should be a choice of preferences (i.e. configurable in settings).
I prefer .NET-style.

0000000414

Expected formatted output snippet

I prefer .NET-style:

if (hello)
{
	<input caret is here>
}

Actual formatted output snippet

if (hello)
	{
		<input caret is here>
	}

Additional context

Hope it's not related with similar issue: #403