bob*_*K12 14 keyboard-shortcuts key-bindings visual-studio-code
在VSCode中是否存在默认键绑定以将选择包装在HTML标记中,如Visual Studio 2015中的键盘快捷键Shift + alt + W?我在文档或默认键盘快捷方式中找不到任何类似的东西,表明它的开箱即用.
Zgr*_*doo 42
要实现自动化,请转到.
文件>首选项>键盘快捷键
并将其添加到您的keybindings.json(右侧窗口)
{
"key": "ctrl+shift+enter",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorTextFocus && !editorReadonly"
}
Run Code Online (Sandbox Code Playgroud)
您可以使用自己的组合键替换ctrl + shift + enter.
小智 6
你可以使用这个扩展名:https: //github.com/Microsoft/vscode-htmltagwrap
或者你可以:
归档时间: |
|
查看次数: |
8166 次 |
最近记录: |