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

ozsay picture ozsay  ·  247Comments

TurkeyMan picture TurkeyMan  ·  411Comments

jez9999 picture jez9999  ·  234Comments

filfat picture filfat  ·  246Comments

Brakkar picture Brakkar  ·  364Comments