Can I see, and individually disable, keyboard shortcuts for extensions, such as the Sublime Text Keymap extension?

前端 未结 2 1039
你的背包
你的背包 2021-01-24 19:24

When I started using VS Code, I installed the \"Sublime Text Keymap and Settings Importer\" extension, to make it act more like Sublime, because that is what I was familiar with

相关标签:
2条回答
  • 2021-01-24 19:54

    Keep an eye on this PR https://github.com/microsoft/vscode/pull/95713 (Show keybinding source in GUI). Looks like it may be included in vscode v1.45. It would allow you to filter the "Keyboard Shortcuts" by user-defined or extension. From the above link:

    Filters examples:

    @user - shows user defined keybindings

    @default - shows default keybindings

    @extensions - shows all extension contributed keybindings

    @extensions:"${EXTENSION_NAME}" - shows keybindings contributed by ${EXTENSION_NAME}

    @extensions:${EXTENSION_NAME} - same as above only without quotes (spaces are invalid for this one)

    Searching with filter and text also works:

    @extensions:bookmarks list - shows keybindings from bookmarks extension that contain the word "list"


    And then with such a filtered list it would be easy to disable whichever commands you wished.

    0 讨论(0)
  • 2021-01-24 20:15

    You can see a comprehensive list of all keybindings the extension includes in the "Contributions" tab of the extension itself:

    I'm not aware of any options to display this in the keyboard shortcuts UI directly. However, you could put the two tabs side-by-side for easy comparison:

    0 讨论(0)
提交回复
热议问题