One of the things I'm digging about VS2010 is its extensibility model. I'm collecting add-ins in VS like I collect Add-Ins in FireFox. Here's my current of the best Visual Studio 2010 Extensions I'm using.
我对VS2010的研究之一是其可扩展性模型。 我在VS中收集加载项,就像在FireFox中收集加载项一样。 这是我目前使用的最佳Visual Studio 2010扩展。
Visual Studio颜色主题编辑器 (Visual Studio Color Theme Editor)
I've blogged before about the Visual Studio Color Theme Editor. It's great and lets you make VS look like whatever OS you want. Some crazy people try to make Visual Studio 2010 look like Visual Studio 2008! ;)
我以前写过关于Visual Studio颜色主题编辑器的文章。 很棒,可以让VS看起来像您想要的任何操作系统。 一些疯狂的人试图使Visual Studio 2010看起来像Visual Studio 2008! ;)
Visual Studio 2010的PowerCommands (PowerCommands for Visual Studio 2010)
This crazy add-in adds 25 additional commands to Visual Studio! It's a collection of really convenient little improvements like Open Containing Folder and Open Command Prompt. But it's also subtle things like Undo Close that will reopen the most recent tab with the cursor just where it was. There's a lot of Copy/Paste improvements, letting you copy and paste a whole class, or copy and paste references between projects. It even adds "Format Document on Save" that will tidy up your whitespace every time you save your document. Lovely.
这个疯狂的加载项向Visual Studio添加了25个其他命令! 这是一些非常方便的小改进的集合,例如“打开包含文件夹”和“打开命令提示符”。 但是,还存在诸如“撤消关闭”之类的微妙的功能,它将使用光标将其重新定位到的位置重新打开最新的选项卡。 复制/粘贴有很多改进,可让您复制和粘贴整个类,或在项目之间复制和粘贴引用。 它甚至添加了“保存时格式化文档”,每次保存文档时都会整理空白。 可爱。
Visual Studio 2010 Pro电动工具 (Visual Studio 2010 Pro Power Tools)
Where PowerCommands adds lots of little commands in subtle ways, Pro Power Tools changes UI things in much bigger ways.
PowerCommands以微妙的方式添加了许多小命令,而Pro Power Tools以更大的方式更改了UI内容。
Two of the big changes are the "Document Well" that changes how tabs behave. It'll color tabs based on what project they came from, which is nice for large solutions. It also introduces optional tab recycling that will close old tabs as you open new ones. If you prefer a pile of tabs, you can get multiple rows or columns of tabs.
其中两个重大更改是“文档库”,它可以更改选项卡的行为。 它将根据它们来自的项目为选项卡上色,这对于大型解决方案非常有用。 它还引入了可选的选项卡回收,当您打开新选项卡时将关闭旧选项卡。 如果您喜欢一堆标签,则可以获取多行或多列标签。
You can also Highlight Current Line, nice for large monitors. It adds HTML Copy that puts code in the clipboard as in the HTML format if if you like, but most of all, it adds a new Searchable Add Reference Dialog. Magic.
您还可以突出显示“当前行”,这对于大型显示器非常有用。 它会添加HTML复制,如果愿意,可以将代码以HTML格式放置在剪贴板中,但最重要的是,它会添加一个新的“可搜索的添加引用对话框”。 魔法。
代码比较 (CodeCompare)
I'm a fan of BeyondCompare from Scooter Software, but I like integrated stuff as well. CodeCompare is a free Diff tool that runs inside VS itself. It's nice because it's using the VS editor so it has the features you're used to like Ctrl-Scroll to change the font sizes. I wish the two panes changed sizes in sync though, and I've seen one or two crashes. Still, an excellent free compare tool, and I like that I can drag the second file in.
我是Scooter Software的BeyondCompare的粉丝,但我也喜欢集成的东西。 CodeCompare是一个免费的Diff工具,可在VS内部运行。 很好,因为它使用VS编辑器,因此它具有您习惯使用Ctrl-Scroll来更改字体大小的功能。 我希望两个窗格同步更改大小,并且我已经看到一两次崩溃。 仍然是一个出色的免费比较工具,我喜欢将第二个文件拖入其中。
有形的T4编辑器 (tangible T4 Editor)
T4 (Text Template Transformation Toolkit) Code Generation is Visual Studio's best kept secret. It's built in and it's yummy. However, there's no syntax highlighting and opening .tt files in Visual Studio directly is a smidge scary, as it's hard to tell what's code generating code and what's the code you're generating. With the free tangibile T4 editor you get coloring and Intellisense.
T4(文本模板转换工具包)代码生成是Visual Studio的最佳秘密。 它是内置的,很好吃。 但是,没有语法高亮显示,而是直接在Visual Studio中打开.tt文件有点让人恐惧,因为很难区分是什么代码生成代码和什么代码生成。 使用免费的Tangibile T4编辑器,您可以获得着色和Intellisense。
What are your favorites, Dear Reader?
亲爱的读者,您最喜欢什么?