PhpStorm wrapping multiple lines in list tags

僤鯓⒐⒋嵵緔 提交于 2019-11-30 17:27:30

Use Emmet (previously known as Zen Coding) for this.

Code | Surround with... | Emmet

If you have <ul> tags already created, just alter string a bit (i.e. li*). More details/documentation is available here: http://docs.emmet.io/abbreviations/syntax/

If you have enabled Emmet and prefer shortcuts you can:

  1. select text
  2. press 2x Shift
  3. type Surround and select Surround with Emmet
  4. in input type li* and press Enter
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!