Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl+Delete deletes whitespace plus token in VS Keymap #8

Open
rebornix opened this issue Feb 27, 2018 · 7 comments
Open

Ctrl+Delete deletes whitespace plus token in VS Keymap #8

rebornix opened this issue Feb 27, 2018 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug caused-by-extension

Comments

@rebornix
Copy link
Member

From @rebornix on August 11, 2017 21:51

From @ItWorksOnMyMachine on June 24, 2017 18:10

  • VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
aurelia AureliaEffect 0.3.4
vscode-nuget-package-manager jmrog 1.1.3
csharp ms-vscode 1.10.0
vs-keybindings ms-vscode 0.1.3

I pasted method into the editor but the formatting was off and there were too many spaces before the method name. I used Ctrl+Home to return to the beginning of the line and the pressed Ctrl+Delete with the intention of deleting all whitespace and then pressing my tab key to indent. Unfortunately, the Ctrl+Delete deleted all the whitespace and the method name. I would expect it to delete all whitespace up to, but not including, the method name.
Steps to Reproduce:

Copied from original issue: microsoft/vscode#29385

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

@rebornix rebornix self-assigned this Feb 27, 2018
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug caused-by-extension labels Feb 27, 2018
@rebornix
Copy link
Member Author

From @alexandrudima on June 26, 2017 13:53

This works as expected for me:

|       function

Pressing ctrl+delete deletes the whitespace up to function for me.

Could you please try running with code --disable-extensions?

@rebornix
Copy link
Member Author

From @ItWorksOnMyMachine on June 27, 2017 11:59

@alexandrudima, you are right, it was the Visual Studio Keymap extension that was causing this. Disabling this extension fixed the issue. This can be closed.

@rebornix
Copy link
Member Author

From @ItWorksOnMyMachine on June 27, 2017 12:5

Sorry, I didn't realize the vs-keybindings extension was managed under the same repo as vscode. I'm reopening this.

@rebornix
Copy link
Member Author

From @alexandrudima on June 28, 2017 6:31

@rebornix I don't think Visual Studio deletes to the word end when pressing ctrl+delete:

            {
                "key": "ctrl+delete",
                "command": "deleteWordEndRight"
            }

@rebornix
Copy link
Member Author

From @pmunin on October 2, 2017 23:42

The issues still exists, the same happen with CTRL+Backspace - it intercepts it in Git message box and sends it to active file editor: microsoft/vscode#35431

@rebornix
Copy link
Member Author

From @dee-see on October 31, 2017 13:58

I have the same issue when I CTRL+Backspace in the Search textbox
image

@rstander7777
Copy link

This is happening again in 2024 guys! Why? I disabled all extensions and then ctrl-delete deletes the whitespace and the word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug caused-by-extension
Projects
None yet
Development

No branches or pull requests

2 participants