For .NET developers, Using Visual Studio (VS) is unavoidable, unless they are using different operating systems from Windows. The most recent version of VS is 2013 and VS 2014 will be officially released soon. There are still many developers using VS 2012 as well. VS itself is still a powerfull IDE but, with plenty of extensions provided from Visual Studio Gallery, VS can be more powerful to use. In this article, I will introduce 15 most useful VS extensions for development, as well as some more extensions to consider. Of course, this solely comes from my personal development experience, so other developers might have different opinions. Please bear this in your mind. :-)
Build
1. NuGet Package Manager
- URL: http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c
- Version: 2010+
- Free/Commercial: FREE
- Source Code: http://nuget.codeplex.com/
If you haven’t used NuGet for your development, you are doing it wrong.
2. SlowCheetah - XML Transforms
- URL: http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5
- Version: 2010+
- Free/Commercial: FREE
- Source Code: https://github.com/sayedihashimi/slow-cheetah
Like Web.config
transformation, SlowCheetah enables your App.config
to get transformed for your configuration profiles – DEBUG, DEV, TEST and RELEASE. Unfortunately, no longer maintenance will be provided for VS 2014.
Code Readability
3. CodeMaid
- URL: http://visualstudiogallery.msdn.microsoft.com/76293c4d-8c16-4f4a-aee6-21f83a571496
- Version: 2010+
- Free/Commercial: FREE
- Source Code: https://github.com/codecadwallader/codemaid
As it argues, it does do all development dirty works. This is a powerful tool to clean your source codes that contains a lot of spaces and tabs. It also provides McCabe complexity scores to consider refactoring points. There are much more features that I haven’t utilised.
4. Indent Guides
- URL: http://visualstudiogallery.msdn.microsoft.com/e792686d-542b-474a-8c55-630980e72c30
- Version: 2010+
- Free/Commercial: FREE
- Source Code: http://indentguide.codeplex.com/
This is just a small thing but offers you a better readability for indentation.
5. Ref12
- URL: http://visualstudiogallery.msdn.microsoft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e
- Version: 2010+
- Free/Commercial: FREE
- Source Code: https://github.com/SLaks/Ref12
Punching F12 gives you metadata information, which is not sufficient enough. With this extension, F12 will show you the source codes from http://referencesource-beta.microsoft.com.
Entity Framework
6. Entity Framework Power Tools Beta 4
- URL: http://visualstudiogallery.msdn.microsoft.com/72a60b14-1581-4b9b-89f2-846072eff19d
- Version: 2010+
- Free/Commercial: FREE
- Source Code: http://entityframework.codeplex.com/
Are you sick of creating POCO classes for code first approach in Entity Framework? This will significantly reduce your work with just a few mouse clicks.
Unit Testing
7. NCrunch
- URL: http://visualstudiogallery.msdn.microsoft.com/6946579c-c7d9-48ce-b039-994d30b85116
- Version: 2008+
- Free/Commercial: COMMERCIAL
- Website: http://www.ncrunch.net/
During the development, NCrunch runs unit tests in parallel, which has been already written for your application, to provide your test code coverage. That code coverage checking is performed in real-time. If you want a cheaper option, dotCOVER from JetBrains might be yours.
8. ASP.NET MVC NUnit
- URL: http://visualstudiogallery.msdn.microsoft.com/3c266165-7142-4012-974c-fa750cf97850
- Version: 2012
- Free/Commercial: FREE
- Source Code: https://github.com/kimpenhaus/ASP.NET_MVC_NUnit
With this extension, you can easily add a NUnit test project for your ASP.NET MVC website development. It also provides a unit test template with NUnit. Therefore, if you are sick of structuring NUnit test class, this will significantly reduce your typing efforts.
It doesn’t support VS 2013 or later, though.
9. NUnit Test Adapter
- URL: http://visualstudiogallery.msdn.microsoft.com/6ab922d0-21c0-4f06-ab5f-4ecd1fe7175d
- Version: 2012+
- Free/Commercial: FREE
- Reference: http://nunit.org
If you are a big fan of NUnit and want to integrate its test adapter with your Visual Studio, this extension will give you much breathing. You don’t have to run the test runner separately.
Web Development
10. Javascript Parser
- URL: http://visualstudiogallery.msdn.microsoft.com/288a2b0f-1357-47b4-8215-1134c36bdf30
- Version: 2008+
- Free/Commercial: FREE
- Source Code: https://code.google.com/p/js-addin/
This provides structural indicators when you are working on large amount of javascripts.
11. SideWaffle Template Pack
- URL: http://visualstudiogallery.msdn.microsoft.com/a16c2d07-b2e1-4a25-87d9-194f04e7a698
- Version: 2012+
- Free/Commercial: FREE
- Source Code: https://github.com/ligershark/side-waffle
This extension offers various project templates and item templates for building websites, Windows apps, and a lot more.
12. Web Essentials
- URL: http://visualstudiogallery.msdn.microsoft.com/6ed4c78f-a23e-49ad-b5fd-369af0c2107f
- Version: 2010+
- Free/Commercial: FREE
- Reference: http://vswebessentials.com
If you code HTML, CSS, JavaScript or anything related to web development, with this extension, you will get a lot of help to make your life easier.
ETC
13. VSCommands for Visual Studio
- URL: http://visualstudiogallery.msdn.microsoft.com/a83505c6-77b3-44a6-b53b-73d77cba84c8
- Version: 2012+
- Free/Commercial: FREE
- Reference: http://vscommands.squaredinfinity.com
There are tens of features supported by this extension including visual assistance, build assistance and debug assistance.
14. Productivity Power Tools
- URL: http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef
- Version: 2010+
- Free/Commercial: FREE
This provides many features as if they are just bundled with native Visual Studio. Without this, you might feel somethings are missing.
15. ReSharper
- URL: http://visualstudiogallery.msdn.microsoft.com/EA4AC039-1B5C-4D11-804E-9BEDE2E63ECF
- Version: 2012+
- Free/Commercial: COMMERCIAL
- Reference: http://www.jetbrains.com/resharper
No need to say more. Just use it.
Others
So far, I’ve just briefly revised 15 VS extensions you might be interested in. Some of them are the ones you’ve already been using, others are not. The following three extensions might be attractive for you to use.
Unit Test Generator
- URL: http://visualstudiogallery.msdn.microsoft.com/45208924-e7b0-45df-8cff-165b505a38d7
- Version: 2012+
- Free/Commercial: FREE
- Reference: Visual Studio ALM Rangers: Supporting Guidance and Whitepapers
Are you a big fan of MS-Test? This extension helps you create unit test classes, methods and other stuffs with one click.
xUnit.net runner for Visual Studio
- URL: http://visualstudiogallery.msdn.microsoft.com/463c5987-f82b-46c8-a97e-b1cde42b9099
- Version: 2012+
- Free/Commercial: FREE
- Source Code: https://github.com/xunit/visualstudio.xunit
You prefer using xUnit to other testing framework and have been sick of running tests in a command-line? This integrates your test runner with Visual Studio.
SpecFlow
- URL: http://visualstudiogallery.msdn.microsoft.com/9915524d-7fb0-43c3-bb3c-a8a14fbd40ee
- Version: 2010+
- Free/Commercial: FREE
- Source Code: https://github.com/techtalk/SpecFlow
Business requirements can be directly bound into your codes. If you are happy to apply BDD approach for your project, this extension will give you a lot of freedom. This works pretty well with any of your unit testing framework.
You don’t have to install all of them, even you can use your VS without extensions. However, once you get used to any extensions, you won’t be happy without them.
Happy coding!