Home > OS >  Shortcuts within Find/Replace dialog do not work in Visual Studio Code?
Shortcuts within Find/Replace dialog do not work in Visual Studio Code?

Time:09-22

As shown in this screenshot there are 5 occurrences of the "Find" field. But hitting CMD-ENTER -as shown in the shortcut balloon help - does nothing.

enter image description here Why is it not working/ what can be done to get it to to work? I detest using the mouse for extremely common operations especially Find/Replace.

CodePudding user response:

It is a little odd that the binding is Cmd Enter on the Mac, whereas it is Ctrl Alt Enter on Windows? Things to try:

  1. The equivalent of Ctrl Alt Enter on the Mac (and you indicated that Cmd Option Enter does work).

  2. Check in the Gear Icon/KeyboardShortcuts editor what the command editor.actions.replaceAll is bound to.

  3. Check in the Keyboard Shortcuts (click on the little keyboard icon to the right and type Cmd Enter) to see if it is bound to something besides editor.actions.replaceAll.

  4. You can run the Developer: Toggle Keyboard Shortcuts Troubleshooting command from the Command Palette, type Cmd Enter and see what command vscode finds for that keybinding.

You indicated that Cmd Option Enter does work as you expect.

  • Related