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:

  1. Highlight the content you want to wrap.
  2. Press Ctrl + Shift + P (or Cmd + Shift + P on Mac) to open the Command Palette.
  3. Type Emmet: Wrap with Abbreviation and select it.
  4. In the input field that appears, type div and press Enter.

This will wrap the selected content with a <div> tag.

Comments

Popular posts from this blog

Top Laravel Security Best Practices: How to Secure Your Web Application 🚀

Restoring Your Data in Xampp: A Step-by-Step Guide

Implement a real-time, interactive map