In Visual Studio 2013 Update 4 with the code shown in the below screenshot the brace matching is off. 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.
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
).
If VS sees the for loop as a syntax error, that will probably also cause the parentheses mismatch.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.