Vscode: How to highlight a .tpl file as HTML

Created on 15 Apr 2016  ·  3Comments  ·  Source: microsoft/vscode

希望可以像sublime那样,原生支持.tpl扩展文件,依然高亮显示HTML代码

*question

Most helpful comment

Something like:

"files.associations": {
"*.tpl": "html"
}

in your user preferences may work.

All 3 comments

He means that he wants syntax hightlight in .tpl file the same as in HTML file, which sublime surpports.

Something like:

"files.associations": {
"*.tpl": "html"
}

in your user preferences may work.

yes,thank you @BillyONeal

Was this page helpful?
5 / 5 - 1 ratings

Related issues

DovydasNavickas picture DovydasNavickas  ·  3Comments

philipgiuliani picture philipgiuliani  ·  3Comments

lukehoban picture lukehoban  ·  3Comments

mrkiley picture mrkiley  ·  3Comments

sijad picture sijad  ·  3Comments