Reputation: 15
Earlier, the boilerplate code got automatically completed after writing <DOCTYPE html>
, but now it's not working and I've to write the boiler plate code myself every-time.
I've tried:
Any, help is deeply appreciated.
I am all new here, so if any sort of mistake is done by me in asking or specifying the question, I apologize.
Upvotes: 1
Views: 12097
Reputation: 11
I am facing the same issue but not solved you can the steps to solve this issue
Upvotes: 0
Reputation: 11
Its very simple. Go to setting of visual studio and search (emmet abbreviation). scroll down to bottom and then you will find a option/setting named (Emmet: Trigger Expansion On Tab). Turn it on. Now open blank file and type ! and then press tab your boilerplate will ready. Its 100% working.enter image description here
Upvotes: 1
Reputation: 21
I had the same problem. I found that the suggestions were turned off. Try Ctrl+Space it will turn on suggestions.
Upvotes: 2
Reputation: 84
I had this problem too. You need to change your language mode to html first. Then using !
will work.
The location of language mode is in the bottom right corner of vs code
I ended up installing HTML5 Boilerplate extension by sidthesloth. The boilerplate was a bit more complete.
Upvotes: 5