You don't need to install any extension, just add this to you User settings.json
file in VSCode at the end of the file, and it will work like a charm.
"emmet.showSuggestionsAsSnippets": true,
"emmet.includeLanguages": {"html.erb": "html", "erb": "html"}
Install Auto Close Tag Extension
html.erb file is included by default
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.