[英]How can I get javascript parsing to work in Visual Studio 2013
In Visual Studio 2013 Update 4 with the code shown in the below screenshot the brace matching is off. 在Visual Studio 2013 Update 4中,下面的屏幕快照中显示了代码,括号匹配已关闭。 See the red arrows.
参见红色箭头。 Is there a way to make this work?
有没有办法使这项工作? I found it impossible to edit javascript in VS with this problem because this matching feeds the auto indent and the file would indent in all sorts of wrong ways.
我发现不可能在VS中编辑带有此问题的javascript,因为此匹配将提供自动缩进,并且文件将以各种错误的方式缩进。
I think it's due to the use of for( ..of ..)
, which is an experimental feature, in a draft state, not supported by Internet Explorer, and therefore apparently not supported by VS either (note the wiggly line under to
). 我认为这是由于使用
for( ..of ..)
这是一个实验性的功能,在草稿状态,Internet Explorer不支持,所以很明显,不是VS或者(注意下的波浪线支持to
) 。
If VS sees the for loop as a syntax error, that will probably also cause the parentheses mismatch. 如果VS将for循环视为语法错误,则可能还会导致括号不匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.