microsoft / vscode-vs-keybindings

Visual Studio Keymap for Visual Studio Code
MIT License
55 stars 40 forks source link

[Visual Studio Keymap] Ctrl+Backspace/Ctrl+Delete keys within commit message are intercepted by extension in main editor #5

Open rebornix opened 6 years ago

rebornix commented 6 years ago

From @rebornix on November 16, 2017 22:59

From @prenetic on August 16, 2017 17:56

Steps to Reproduce:

  1. Install Visual Studio Keymap extension and reload.
  2. Open an editor with any non-empty text file.
  3. Place the cursor somewhere in the middle of the text file (remember where) to observe behavior.
  4. Select the Source Control tab.
  5. Begin typing a commit message (does not matter if file belongs to a repository or not), and then press Ctrl+Backspace to delete a word to the left of the cursor within the commit message.
  6. Observe that the open file is now dirty and the word to the left of where the cursor in the main editor was placed in step 2 is now missing.
  7. In the same commit message, press Ctrl+Delete to delete a word to the right of the cursor within the commit message.
  8. Observe that the word to the right of the cursor in the main editor is now missing.

Reproduces without extensions: No

Copied from original issue: Microsoft/vscode#32651

Copied from original issue: rebornix/vscode-vs-keybindings#24

rebornix commented 6 years ago

From @prenetic on August 16, 2017 18:4

@rebornix just realized there's a separate repo for this extension. I can re-file over there if necessary. I mistakenly landed here from the extension details after keying in on the "issue on GitHub" link.

rebornix commented 6 years ago

From @jVanZwieten on February 20, 2018 17:32

My investigation shows that it's deleteWordStartLeft. When I remove that keybinding, I don't reproduce the issue.