I want intelissense for bootstrap classes in visual studio code. I tried every soulution given on this platform but didnt succeed. is this feature deleted from visual studio code.
I tried following things :
Intellisense for html css in visual studio code
None of them worked.
I tried editing settings files also, wit these :
**{ "css.fileExtensions": [ "css", "scss", "less" ],
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},**
but no luck.
Any help would be highly appreciated. Thanks
PS :I am using visual studio code 1.21.0
IntelliSense for CSS class names in HTML was right choice. The extension scans through your current workspace to find all css clasess You has in the workspace.
If any of the project inside your workspace has bootstrap.css file then the extension will takes all bootstrap classes.
If You doesn't have bootstrap in the workspace You can install it locally like
npm i bootstrap
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.