VSCode not auto completing HTML

后端 未结 13 1892
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 19:32

I\'m having trouble with my new installed Visual Studio Code on Windows 7. On Mac the editor automatically closes html tags but on my Win7 not. I assume there must be some o

相关标签:
13条回答
  • 2020-12-07 20:34

    Type the tag name (without starting <) then press Tab

    for example type div then press tab and VS will convert it to <div></div>

    Or type the opening tag then press Tab twice

    for example :

    1. type <div
    2. press Tab
    3. press Tab

    it will add the closing tag

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