Some exprs formats
- Add block before
ERL_IMPORT_FUNCTIONS. Maybe Exprindent process.
Hi there, I would love to see this merged so that I don't have an IDE mess with maybe_expr.
Hi there, I would love to see this merged so that I don't have an IDE mess with maybe_expr.
not really, maybe_expr has supported in IDEA-2023. and this patch just for indent format.
I can't understand what does 1st change do? How to test it?
Please reset your master to ignatov:master and cherry-pick 70fdc3a and 1b49afa
Add block before ERL_IMPORT_FUNCTIONS.
Before:
-import(lists, [
reverse/1,
keyreplace/4
]).
After:
-import(lists, [
reverse/1,
keyreplace/4
]).
Maybe Expr indent process.
Before:
maybe
true ?= foo(),
ok
else
false ->
false
end,
After:
maybe
true ?= foo(),
ok
else
false ->
false
end,
@kvakvs
Thanks for the PR, could you please add some formatter tests?
Thanks for the PR, could you please add some formatter tests?
It's done.