visual-studio-code - 如何找出哪个命令名称绑定(bind)到 VSCode 中的特定键序列,反之亦然?

标签 visual-studio-code

是否有等同于 Emacs 的 C-h kC-h w 的命令?

如果没有,是否至少有一个大文件包含我可以搜索的所有 键绑定(bind)?

编辑:如果您知道命令名称,则“反之亦然”是微不足道的。只需在命令提示符中键入它,它就会显示关联的键绑定(bind)。我对前者更感兴趣。

最佳答案

v1.28.0 添加了一种更好的搜索绑定(bind)键和弦的方法,请参阅 search keyboard shortcuts: release notes .

Record and search keyboard shortcuts

In the Keyboard Shortcuts editor (Ctrl+K Ctrl+S), you can now search for keybindings just by typing keystrokes instead of typing out the key name (example 'shift'). Turn on the Recording Keys mode and type the keystrokes you want to search for.

You can also enter into the Recording Keys mode using Alt+K. Press the Esc key to exit from Recording Keys mode

.

关于visual-studio-code - 如何找出哪个命令名称绑定(bind)到 VSCode 中的特定键序列,反之亦然?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46287561/

相关文章:

html - HTML 文件中的 Visual Studio 代码注释

visual-studio-code - 调试时忽略自己/指定的文件?

git - 无法将 refs 推送到远程尝试先运行 pull 以集成您的更改

html - 图像不显示在 Node 元素的浏览器中

typescript - 使用 VS Code 和 webpack-dev-server 进行调试时断点不起作用

rust - Visual Studio Code 中没有 Rust 自动完成外部包装箱,例如 'gtk-rs'

windows - VSCode 终端之前的命令

node.js - 禁用附加的 node.js 调试器

json - VS Code tasks.json——任务单独工作,但不组合

typescript - 使用 Prettier 进行代码格式化在 Nest JS 中不起作用