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

Reformatting code doesn't leave a new line at the end of file

Open xeoneux opened this issue 7 years ago • 2 comments

Formatting code on auto save removes the new line at the end of the file

xeoneux avatar Mar 22 '18 04:03 xeoneux

The VS code setting

"files.insertFinalNewline": true

should help.

cknitt avatar Aug 20 '18 14:08 cknitt

Thanks for workaround @cknitt , but this is still a bug, because refmt cli adds line at the end.

sazarkin avatar Aug 23 '18 09:08 sazarkin