visual-studio-codekeyboard-shortcutskey-bindingsundo-redo

Redo Deletes Line In Visual Studio Code - (Redo: CTRL + Y)


My Problem: Ctrl + Y deletes the line of code instead of Redo'ing

I've been seeing similar questions to this problem but there isn't an answer to it.


Solution

  • An extension caused my Redo shortcut to not work like I had wanted it to

    File -> Preferences -> Keyboard Shortcuts

    Search "Ctrl + Y" --> Right-Click command named 'Redo' -> Show Same Keybindings

    Once you click on Show Same Keybindings, you will be presented with other Ctrl + Y keybindings that do other Commands, such as in my case, 'Delete Line'

    Delete the other commands by Right-Clicking and choose Remove Keybinding