Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to autocomplete tag.className in Visual Studio Code like Sublime Text

In sublime Text 2 writing div.panel then press tab, or the auto complete trigger, in the HTML document produces <div class="panel"></div>

I have tried to get the same result in Visual Studio Code version 1.17.1 but I could not able to get it.

I am using the following plugins:

  • Auto Close Tag
  • HTML CSS Support
  • HTML Snippets
like image 627
SaidbakR Avatar asked Dec 05 '22 13:12

SaidbakR


1 Answers

settings.json Ctrl+,

"emmet.triggerExpansionOnTab": true,
"emmet.showSuggestionsAsSnippets": true,
"editor.snippetSuggestions": "top"
like image 132
Alex Avatar answered Dec 30 '22 11:12

Alex