Emmet auto completing HTML tags instead of CSS
See original GitHub issueHow can I stop emmet from putting tags into my styled components
I have put this into my settings.json
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"files.associations": {
"*.js": "javascriptreact"
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:22
- Comments:33
Top Results From Across the Web
Emmet in Visual Studio Code
Emmet is just one of the great web developer features in VS Code. Read on to find out about: HTML - VS Code...
Read more >Visual Studio Code - Emmet / Intellisense autocomplete ...
I'm just starting out learning html/css in vscode and came across this issue. New HTML doc; Type inp and then press TAB; As...
Read more >VS Code Autocomplete html tags not working Solution
VS Code Autocomplete html tags not working Solution- Emmet Extinctions Copy the Code, Past and Save: " emmet.triggerExpansionOnTab": true ...
Read more >Solving Emmet Problem | Tab not AutoComplete html in VSCode
Quick Emmet Shortcuts · Balance Out · What does this syntax using "on:" mean in Ruby on Rails? · How to make your...
Read more >VS Code Autocomplete html tags not working Solution
In this video I will show you how to enable emmet extentions for autocomplete of html tags.This video is for vs code autocomplete...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a small fix, add this in your settings.json:
After trying all the suggestions in this thread, none of them worked, but I realized that the auto-completion to HTML only happened when the suggestion box was shown (press
Esc
beforeTab
and the completion would work fine). Here is the config I needed in order to get Emmet to expandm:10
tomargin: 10px;
onTab
: