[英]vscode: assign keyboard shortcut to "Insert snippet" command
WHen I press ctrl-shift-p and type "insert snippet" a menu shows up with thhe available snippets当我按 ctrl-shift-p 并输入“插入片段”时,会出现一个菜单,其中包含可用片段
I'd like to assign ctrl-shift-q to that action, but I can't find the correspondent command.我想将 ctrl-shift-q 分配给该操作,但找不到对应的命令。
Tried with试过
{
"key": "ctrl+shift+q",
"command": "workbench.action.openSnippets"
},
but a list of snipppets file appears instead of the list of snippets但是会出现一个片段文件列表而不是片段列表
I was looking for the same thing.我正在寻找同样的东西。 Try this action:
试试这个动作:
editor.action.showSnippets
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.