Open stephen147 opened 2 years ago
Hi @stephen147 , I can't reproduce this problem. This is the result after I pasted the code into VS Code:
I then right-clicked in the editor, and clicked 'Format Document', and the result seems good too:
I then tried to add a whitespace - changing (errmsg) to (errmsg ), and then ran 'Format Document', and that whitespace I added was removed.
I'm working with AutoLispExt v1.5.0. And I guess there's sth. else altering the text...
Thanks for looking into this. My vscode install is fairly fresh. I'll unzip and new install and install this extension and see if the problem occurs.
I've disabled all extensions except AutoLispExt and updated to pre release version v1.5.1
.
Still the same issue.
Anything else I could try as well as disabling the extensions.
I can confirm this, after formatting the text, each command/function that is split into multiple lines is geting a trailing space:
Before format:
After formatting:
The trailing spaces are added during formatting (SHIFT + ALT + F)
Describe the bug Trailing whitespaces are getting added when there were none.
To Reproduce Paste this code to the editor, there's whitespaces getting added after
(errmsg)
anderrmsg
.Expected behaviour It shouldn't be adding in trailing whitespaces when there were none.
Desktop (please complete the following information):
Additional context I have trim trailing whitespace set in VSCodes settings but this doesn't have any effect on this.