how to add Intellisense to Visual Studio Code for bootstrap

后端 未结 5 1616
走了就别回头了
走了就别回头了 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:35

    Okay.

    1. Open Visual Studio Code.

    2. Use CTRL+, to get to the Workspace Settings

    3. At your Right side window you will see something like this:

    4. Another words paste this URL

    {
    	"folders": [
    		{
    			"path": "D:\\Visual Studio\\AndreyCourse\\the-complete-web-developer-in-2018\\DocumentObjectModel"
    		}
    	],
    	"settings": {
    		"css.remoteStyleSheets": [
    			"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css"
    		  ]
    		
    	}
    
    
    }

    5. Enjoy The Bootstrap Intellisense :-)

提交回复
热议问题