Theo Kallioras
Theo Kallioras

Reputation: 3677

How can VS Code preserve multiple blank lines in Elixir files after auto-formatting?

VS Code's Elixir formatter removes double (or more) empty lines when formatting the file on save.

Is there an option to leave multiple empty lines untouched, instead of keeping only one empty line between definitions of functions or other blocks?

Upvotes: 1

Views: 385

Answers (1)

Willian Zuqui
Willian Zuqui

Reputation: 11

I solved this by changing the "Editor end of line" from CRLF to LF

Upvotes: 1

Related Questions