Saturday, November 13, 2010

Cool Tricks & Tips in VS 2010(Part I)

1 comments

Hi there after a few weeks ! . Anyway Microsoft Visual Studio 2010 has some remarkable features which you can never ever find from another IDE exists in the World!!!

So enough talking ,Lets find what are the Cool Features in this excellent IDE.

 

Arrange and Dock Feature.

VS 2010 has enhanced its docking feature of it’s sub windows.

They are ,

  • Tab-dock windows to the editing frame.

  • Dock tool windows to the edge of a frame in the IDE.

  • Float windows over or outside the IDE.

  • Minimize tool windows along the edge of the IDE.

  • Display windows on different monitors.

  • Tile windows in the editing frame.

  • Reset window placement to the default layout.

 

The following diagram shows the guide diamonds that appear when you drag a tool window or document window toward the center of the IDE. The diamond on the right edge only appears when you drag a tool window toward the edge of the IDE.

 

IC294863

To dock tool windows and document windows
  1. Click the tool window or document window you want to dock.

  2. Drag the window toward the middle of the IDE.

    A guide diamond appears. The four arrows of the diamond point toward the four sides of the editing pane. If the window is a tool window, an additional four arrows point to the four edges of the IDE.

  3. When the window you are dragging reaches the location where you want to dock it, move the pointer over the corresponding portion of the guide diamond. The designated area is shaded.

  4. To dock the window in the position indicated, release the mouse button.

 

Zoom

You can zoom in or out in any code or text editing window by pressing and holding the CTRL key and moving the scroll wheel on the mouse. The zoom feature does not work in other windows.

Box Selection

New VS 2010 has added the following new features to the IDE.(Previous versions of VS also had the Box Selection ,you could select a rectangular region of text by holding down the Alt key while selecting a region with the mouse. You could then copy or delete the selected text)

  • Text insertion: Type into a box selection to insert the new text on every selected line.

  • Paste: Paste the contents of one box selection into another.

  • Zero-length boxes: Make a vertical selection zero characters wide to create a multi-line insertion point for new or copied text.

Architecture Explorer

A cool addition in VS2010 is the Architecture Explorer (Click View->Architecture Explorer).This will provide visual interfaces for navigate through your solutions.

image_thumb31 image_thumb39

 

References:- Microsoft Developers Network,amazedsaint’s .net journal.

1 comments:

Post a Comment