[英]VSCODE - How to auto closing html code of ruby on rails html.erb file
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. 您不需要安装任何扩展,只需将其添加到文件末尾的VSCode中的User
settings.json
文件中,它就像魅力一样。
"emmet.showSuggestionsAsSnippets": true,
"emmet.includeLanguages": {"html.erb": "html", "erb": "html"}
Install Auto Close Tag Extension 安装自动关闭标记扩展
html.erb file is included by default 默认情况下包含html.erb文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.