Visual Studio代码-html字符串的语法高亮显示?

问题描述:

我已经尝试解决此问题三天了,但是我似乎找不到任何扩展名来对使用反引号的字符串进行语法高亮显示(我不知道这种类型的通用术语是什么字符串).但是,如果没有扩展来启用此类字符串的语法突出显示,是否有vscode的任何设置可以使我语法高亮?

I've been trying to solve this problem for 3 days already but I can't seem to find any extension to have syntax highlighting for strings that used backticks(I don't know what is the general term for this kind of strings). But if there are no extensions to enable syntax highlight for this kind of strings, is there any settings for vscode that enables me to syntax higlight?

跟进Matt Bierner先前的回答.

To follow-up on Matt Bierner's previous answer.

您应该使用此Visual Studio Code扩展:
angular2-inline

You should use this Visual Studio Code extension:
angular2-inline

此扩展替换了language-vscode-javascript-angular2扩展.

This extension replaces the language-vscode-javascript-angular2 extension.

这是扩展页面,其中包含如何安装
https://marketplace.visualstudio.com/items?itemName=natewallace.angular2-inline

here is the extension page with the how to install
https://marketplace.visualstudio.com/items?itemName=natewallace.angular2-inline