VS 2010 Javascript 匹配大括号/括号突出显示
最近,我升级到 Visual Studio 2010,希望它能为 Javascript 提供与 C# 一样的匹配括号突出显示。
在我正在从事的项目中,我使用的 Javascript 多于 C#,而且我发现缺少括号匹配非常痛苦。
有没有什么方法可以为 Javascript 启用此功能?
2015 年 12 月编辑:现在我正在使用 Viasfora 扩展,它可以像 vim、emacs 一样执行彩虹大括号。每个括号对都依次赋予不同的颜色,因此您不必将插入符号放在括号旁边。在 vs 2013 中使用它。
Recently I upgraded to Visual Studio 2010 in the hope that it would provide matching bracket hightlighting for Javascript as it does for C#.
On the project I am working on I am doing more Javascript than C# and I finding the lack of bracket matching quite painful.
Is there any method of turning on this feature for Javascript too?
EDIT December 2015: Right now I am using Viasfora extension which does rainbow braces like vim, emacs. Each bracket pair has is successively given a different color, so you dont have to put the caret next to a bracket. Using it in vs 2013.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Microsoft 为此发布了 JScript 编辑器扩展。它还支持智能感知评论。在 jQuery vsdoc 中引用时,这非常有用。
Microsoft has released JScript Editor Extensions for this. It also has support for intellisense comments. This works great when referencing in th jQuery vsdoc.
JS 增强
JSEnhancements