0
0

More than 1 year has passed since last update.

Mac:vscode:HTMLで指定の領域の最外側に新たにdivタグを簡単に生成する方法

Posted at

divタグで囲みたいHTMLの領域を選択する

Cmd + Shift + P で、入力ボックスが表示されるのでその窓で wrap と入力

「Emmet ラップ変換」という項目が出るので選択

選択後、wrapと入力していた入力ボックスが空になるので、そこにdivと入力し、Enter

これで選択したHTMLの領域を囲む形でdivタグが生成される。
非常に便利。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0