microsoft / microsoft/vscode-sublime-keybindings
Moving a line using ctrl+shift+arrow(sublime shortcut) creates trailing spaces
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 257
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
Before:

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

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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code using the Sublime Text keymap extension and Ctrl+Shift+Down on a line without trailing spaces. Start by tracing the keybinding definition involved; done means moving the line no longer adds trailing spaces, with the behavior verified against the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100