Tuesday 22 January 2008

Visual Studio 2005 add-ins

Visual Studio provides many features such as Intellisense and keyboard/toolbar shorcuts which allow the developer to save time while coding his projects. If you want to develop even faster, you can install some useful addins:

GhostDoc:
A free tool which generates quite relevant XML comments for your methods with simple names. For methods with more complex names (which we should avoid !), you will need to review the comments as Ghostdoc currently does not utilise Artificial Intelligence for its deductions. But, I am sure that this idea will one day be incorporated in future code editors.

Property Manager:
With the refactoring feature of Visual studio 2005, you can generate only one property a time for the private fields of your class. The Property Manager is a free addin which can generate properties for multiple fields at a time.

The trick is simple:
- select the fields for which you want to generate properties,
- right-click and choose create property in the contextual menu,
- perform a paste operation (Ctrl + v) in your code to paste the property definitions.

Cool commands:
This addin provides some "cool" shorcuts in the contextual menus of your visual studio. Some examples are:
- compile a project from the code editor
- open the containing folder of your project from the solution explorer.
- flip open or flip close the projects list in the solution explorer.

JetBrains Resharper:
Resharper provides a suite of addins which greatly enhances your programming experience using Visual Studio 2005. The most interesting features are:
- real-time code analysis and recommendations for code optimization
- visual styles for the code editor
- more programmer friendly refactoring facilities.

Note, you must have a licence in order to use this tool. You can try the tool by downloading an evaluation version.

No comments: