Visual Studio代码-html字符串的语法高亮显示? [英] visual studio code - syntax highlighting for html strings?

查看:791
本文介绍了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

这篇关于Visual Studio代码-html字符串的语法高亮显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆