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

shanalikhan picture shanalikhan  ·  3Comments

curtw picture curtw  ·  3Comments

v-pavanp picture v-pavanp  ·  3Comments

trstringer picture trstringer  ·  3Comments

DovydasNavickas picture DovydasNavickas  ·  3Comments