vscode-cmantic
vscode-cmantic copied to clipboard
Weird double lines when using CRLF line endings
When using \r\n
line endings, a lot of excess lines appear.
It turns out, that there is a bug in the formatting function, adding \t
in between and after \r\n
line endings.
This results in vscode replacing \r
and \n
into \r\n
respectivly, so the total replacement will be \r\n\t\r\n\t
instead of \r\n\t
I have created a pull-request, as a proposal to fix this issue.