- Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Milestone
Description
When Enter is pressed on a line containing only white space, VS Code's editor.trimAutoWhitespace setting causes that white space to be removed. When using vcFormat, this functionality is circumvented, leaving behind lines containing only white space..
This is not an issue for vcFormat in VS, due to VS using virtual character positions.
To address this, we should check the editor.trimAutoWhitespace setting and, if enabled, include an additional edit to remove white space from the vacated line (if containing only white space).