how to add Intellisense to Visual Studio Code for bootstrap

后端 未结 5 1617
走了就别回头了
走了就别回头了 2020-12-04 13:18

I\'d like to have intellisense for bootstrap specifically but even for the css styles I write in my project. I\'ve got references in a project.json and a bower.json but the

5条回答
  •  甜味超标
    2020-12-04 13:29

    You can install HTML CSS Support Extension.

    ext install vscode-html-css

    This will add Intellisense in your HTML files:

    You don't need to configure anything for local files, just close and reopen vscode after installing. For remote css files, you can add the following

    "css.remoteStyleSheets": [
      "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css"
    ]
    

    in the settings.json

提交回复
热议问题