Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to highlight a .tpl file as HTML #5304

Closed
biij5698 opened this issue Apr 15, 2016 · 3 comments
Closed

How to highlight a .tpl file as HTML #5304

biij5698 opened this issue Apr 15, 2016 · 3 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@biij5698
Copy link

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

@egamma egamma added the info-needed Issue requires more information from poster label Apr 15, 2016
@bingzheyuan
Copy link

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

@Tyriar Tyriar changed the title 怎么让vscode支持.tpl扩展文件? How to highlight a .tpl file as HTML Apr 15, 2016
@Tyriar Tyriar added *question Issue represents a question, should be posted to StackOverflow (VS Code) and removed info-needed Issue requires more information from poster labels Apr 15, 2016
@BillyONeal
Copy link
Member

Something like:

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

in your user preferences may work.

@biij5698
Copy link
Author

yes,thank you @BillyONeal

@aeschli aeschli closed this as completed Apr 20, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

6 participants