vscode-sublime-keybindings icon indicating copy to clipboard operation
vscode-sublime-keybindings copied to clipboard

Moving a line using ctrl+shift+arrow(sublime shortcut) creates trailing spaces

Open rarajks opened this issue 7 years ago • 2 comments

Before: image

I have tried moving line 1 to if block, using ctrl + shit + downArrow

After: image

Trailing spaces were not present initially at line 3. After this move, they were added. This is very annoying. Every time I move lines using this, I have to remove all the trailing spaces created by it

rarajks avatar Feb 05 '18 05:02 rarajks

@rarajks , this is caused by auto formatting, a feature I still don't know how to configure.

In my case, I set the editor to clean up all trailing spaces on file save.

robsonsobral avatar Feb 05 '18 12:02 robsonsobral

//CC @rebornix fyi

egamma avatar Feb 05 '18 13:02 egamma