VS code shortcut
Wrap with div
In VS Code, you can wrap content with a div using the Emmet abbreviation. Here’s the shortcut to achieve that:
- Highlight the content you want to wrap.
- Press
Ctrl + Shift + P(orCmd + Shift + Pon Mac) to open the Command Palette. - Type
Emmet: Wrap with Abbreviationand select it. - In the input field that appears, type
divand pressEnter.
This will wrap the selected content with a <div> tag.
Comments
Post a Comment
What is your thought about this?