microsoft / microsoft/vscode-sublime-keybindings

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

Open
#77 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
257
Forks
128
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.