首选项 > 用户设置中添加如下代码 "files.associations": { "*.tpl": "html" } 转载于:https://www.cnblogs.com/floater/p/5558280.html