Studio中匹配右括号

Studio中匹配右括号

本文介绍了在Visual Studio中匹配右括号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Visual Studio 2008中是否可以打开一个设置,该设置将为开括号生成匹配的闭括号?

Is there a setting in Visual Studio 2008 that I can turn on which would generate a matching closing brace for a opening brace?

我可以想象像Visual Studio一样强大的IDE会具有这个非常有用的功能.

I would imagine that an IDE as powerful as Visual Studio would have this very useful feature.

是否存在可以编写的宏?从我收到的答复来看, ReSharper 是唯一的选择.我不想让我的公司对ReSharper工具进行投资,我为一个相当大的企业工作,而从采购中获得任何批准都不是一件容易的事.

Is there a macro that can be written? From the responses I have received it looks like ReSharper is the only option. I don't want to have to ask my company to invest in the ReSharper tool, I work for a rather large enterprise and getting anything approved from procurement is not an easy task.

我正在使用VS 2010 Ultimate.现在,Power Tools和Power命令可以完成我在这篇文章中所需要的一切.

I am using VS 2010 Ultimate. The Power Tools and Power commands now do everything I was looking for in this post.

推荐答案

我使用 ReSharper .除了右括号外,它还有很多其他功能.唯一的缺点是它不是免费的.但是尝试一下.无论如何,代码分析都是值得的.

I use ReSharper. It does a whole lot more besides just the closing brace. The only downside is it's not free. But give it a try. The code analysis is worth the price anyway.

这篇关于在Visual Studio中匹配右括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 01:09