visual-studio-code

How to find VS Code keyboard shortcut conflict?


I use Command-Shift-F (default setting) for global find all. Extensively.

When I am editing a Java file, in addition to the problem that Java is on my screen, this shortcut doesn't work. Instead, Command-Shift-F will fold code in the current bracket to use less vertical whitespace.

I have never changed a default keyboard setting. As confirmed by Preferences > Keyboard Shortcuts and reviewing the right column.

How can I find which thing has commandeered my normal finding experience?


Solution

    1. Open File > Preferences > Keyboard Shortcuts (CtrlK CtrlS key chord on Windows).
    2. Invoke Record Keys command ( button toggle or AltK): Keyboard shortcuts settings input field showing activated button with keyboard icon, "Record keys (Alt+K)" tooltip nearby and "Recording keys" info bubble in the end of the input on the left.,
    3. With focus inside the search field, press the keyboard shortcut or chord you need to find command bindings for.
    4. Observe its When condition; eventually remove or change it through the Change When Expression context menu entry (or CtrlK CtrlE) on active Command in the filtered list: "Change When Expression" is the penultimate item in the context menu.

    Official documentaion: https://code.visualstudio.com/docs/getstarted/keybindings