Thursday, September 02, 2004

 
In continuation of the journey on Visual Studio.Net 2005 IDE features, the other thing that attracted me was the Code Refactoring features.

During our development, as the code keeps growing we face situations like we have common code to be used at several places, at some times we may have to move a local method variable as a parameter for a method, create property methods for private class members, rename a method, field etc., and mostly we get into errors during CTRL + C & CTRL + V and we spend considerable time troubleshooting this, Now in the Visual Studio.Net 2005, considerable emphasis has been made to developer productivity enhancements and one such feature is the "Refactoring Code", In the Code editor, you can either right click the mouse and choose the refactor code option to achieve most of the above tasks or as usual you can access these features from the IDE Main Menu.

Wednesday, September 01, 2004

 
VS 2005 IDE Features

In continuation to the "Wows" i express during my journey into the Visual Studio 2005 ide, The next feature that really amazed me was the Expansions.

What is Expansions:

expansions are a type of short aliases, and then expanded into a common programming construct. For example in the code editor you can type for and when you press TAB, it automatically expands into an empty for loop construct such as

for (int i = 0; i < length; i++)
{
/**/
}


This expansion can be achieved in the ide by the following ways

1) in the code editor type the short alias (Such as for,if etc.,) and press TAB
2) in the code editor type CTRL + K and then type X, it will show you a list of expansions from which u can choose
3) You can also use the Menu, Intellisense -> Insert Expansion.

Vijrag.

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]