JSX or HTML autocompletion in Visual Studio Code

前端 未结 16 1228
说谎
说谎 2020-12-12 10:14

Is there any way to use components or HTML completion in Visual Studio Code? Because typing each letter manually is not good idea when we have classes like Bootstrap etc. Fo

16条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 11:01

    It took me two steps to get auto-closing tags in JSX.

    1. Follow Kehkashan Fazal's instructions above about setting "emmet.includeLanguages"
    2. Download the Auto Close Tag extension from VSCode (formulahendry.auto-close-tag)

    And now you have nice auto-closing JSX tags!

提交回复
热议问题