How to do tag wrapping in VS code?

后端 未结 7 1363
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 05:10

I would like to wrap my selected html within a tag in VS code. How do I do that?

相关标签:
7条回答
  • 2020-12-04 05:58

    Many commands are already attached to simple ctrl+[key], you can also do chorded keybinding like ctrl a+b.

    (In case this is your first time reading about chorded keybindings: They work by not letting go of the ctrl key and pressing a second key after the first.)

    I have my Emmet: Wrap with Abbreviation bound to ((ctrl) (w+a)).

    In windows: File > Preferences > Keyboard Shortcuts ((ctrl) (k+s))> search for Wrap with Abbreviation > double-click > add your combonation.

    0 讨论(0)
提交回复
热议问题