Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 vscode 编辑器的新手,我正在为此创建扩展。是否有任何事件或事情可以告诉我我按下了什么键。假设我正在打开 vscode 编辑器,然后我按下ctrl+A是否有任何方法可以获取该值,即,ctrl+A
ctrl+A
我建议您不要直接绑定到可以本地化并翻译成不同语言的另一个字母的快捷键事件。
如果你想在按键上执行命令,你可以使用contributors.keybindings
这些是相关链接: 贡献点和键绑定