I'm trying to add custom keyboard short-cut to my Brackets. Now my keymap contains the following overrides:
我正在尝试为我的Brackets添加自定义键盘快捷键。现在我的keymap包含以下覆盖:
"overrides": {
"Ctrl-S":"file.saveAll"
}
I want to add a short-cut for command described here. As far as I found form Developer tools, CommandManager runs this command with ID "insya-tools-string_uppercase"
. But when I tried to add line
我想为这里描述的命令添加一个快捷方式。据我发现表单开发人员工具,CommandManager使用ID“insya-tools-string_uppercase”运行此命令。但是当我试图添加线条时
"Ctrl-Shift-U": "insya-tools-string_uppercase"
I've got an error "You assigning shortcuts to nonexisting command". I've tried "insya-tools.string_uppercase"
and all other combinations. But result is the same. So I think, that maybe there is no registered hmm.. another-type-of-id for this command. But since I sometimes want to add also other command short-cuts, I'm wondering if there is a way to get list of all available commands or something.
我有一个错误“你为不存在的命令分配快捷方式”。我尝试过“insya-tools.string_uppercase”和所有其他组合。但结果是一样的。所以我想,也许没有注册的嗯...这个命令的另一个类型的id。但是因为我有时想要添加其他命令快捷方式,我想知道是否有办法获取所有可用命令或其他内容的列表。
1 个解决方案
#1
There's an extension called Display Shortcuts in the extension registry. Install it to then click Help > Show Shortcuts
.
扩展注册表中有一个名为Display Shortcuts的扩展名。将其安装到然后单击“帮助”>“显示快捷方式”。
It'll then show you a list like this:
然后它会显示一个这样的列表:
#1
There's an extension called Display Shortcuts in the extension registry. Install it to then click Help > Show Shortcuts
.
扩展注册表中有一个名为Display Shortcuts的扩展名。将其安装到然后单击“帮助”>“显示快捷方式”。
It'll then show you a list like this:
然后它会显示一个这样的列表: