erlang-vscode icon indicating copy to clipboard operation
erlang-vscode copied to clipboard

Auto-format Code

Open dreambo8563 opened this issue 8 years ago • 4 comments

I didn't find any command to make it auto indent to be a beautiful format..

please help, any shortcut will be great

dreambo8563 avatar Oct 21 '16 02:10 dreambo8563

When the line ends with -> or of the next line should be indented auto. Doesn't that work?

If you mean re-formatting the source, it is not supported yet.

yuce avatar Oct 23 '16 15:10 yuce

yes, hope we can have re-formatting.

dreambo8563 avatar Oct 26 '16 01:10 dreambo8563

I added this feature

https://github.com/fireflyc/erlang-vscode/

fireflyc avatar Nov 08 '16 11:11 fireflyc

You may also be interested in this extension to autoformat Erlang with VS Code: https://github.com/szTheory/vsc-erlang-formatter

dtip avatar Jan 10 '20 13:01 dtip