We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When an S-expression is started inside another, indentation can be lost. This makes it quite laborious to edit Ion-based code.
Repro case:
Start a fresh Ion file; I used an IDEA scratch file.
Type (foo and you'll get an automatic closing paren following the cursor.
(foo
Hit return; the cursor is at the left margin. I argue this is incorrect and the standard indentation should be applied.
Type two spaces and then bar; you should have:
bar
(foo bar)
Move the cursor up after foo and hit RETURN. Surprisingly, this gets the indentation correct.
foo
Type ( and watch the parens get shifted to the first column.
(
Manually fix the indentation, and imagine doing that a hundred times a day, with much deeper indentation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When an S-expression is started inside another, indentation can be lost. This makes it quite laborious to edit Ion-based code.
Repro case:
Start a fresh Ion file; I used an IDEA scratch file.
Type
(foo
and you'll get an automatic closing paren following the cursor.Hit return; the cursor is at the left margin. I argue this is incorrect and the standard indentation should be applied.
Type two spaces and then
bar
; you should have:Move the cursor up after
foo
and hit RETURN. Surprisingly, this gets the indentation correct.Type
(
and watch the parens get shifted to the first column.Manually fix the indentation, and imagine doing that a hundred times a day, with much deeper indentation.
The text was updated successfully, but these errors were encountered: