To automate this, go to.
File> Preferences> Keyboard Shortcuts
and add this to your keybindings.json (right window)
{ "key": "ctrl+shift+enter", "command": "editor.emmet.action.wrapWithAbbreviation", "when": "editorTextFocus && !editorReadonly" }
You can replace Ctrl + Shift + Enter with your own keyboard shortcut.
Zgr3doo
source share