Aayan
Aayan

Reputation: 15

The Boilerplate code is not completing automatically in VScode

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:

  1. Using HTML snippets package.
  2. Uninstalling packages.
  3. Re-installing Vscode. Nothing seems to work.

Now Earlier

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

Answers (4)

patilganesh1010
patilganesh1010

Reputation: 11

I am facing the same issue but not solved you can the steps to solve this issue

  1. Open vs code
  2. Click settings > Command palette
  3. Search for user settings
  4. Go to emmet
  5. at the bottom click on the checkbox the trigger expansion tab
  6. done now you can use it!

Upvotes: 0

Aakash Yadav
Aakash Yadav

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

Jay
Jay

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

developing brandon
developing brandon

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

Related Questions