Usage of Code Definition Window in VS 2010

By James H

The Code Definition window is a read-only editor view that displays the definition of a symbol in a code file stored in, or referenced by, the active project. To display this window, select Code Definition Window from the View menu. When the window first opens, it displays the definition for the last symbol selected. If no definition is available, No definition selected is displayed.

First Launch the Code Navigation Window From View > Code Definition Window ( Ctrl + W , D)

View Image 1
By default the window will show “No Definition Selected” , as there is no definition is been selected to view.

View Image 2

Now, While editing or navigate your code, the Code Definition Window will display the definition of the objects which is selected.  As show in below image, when  “BlobStream” from code window is selected,  Code definition window displaying the definition of “BlobSteam” . Generally we need to do the “Go To Definition” for the same, but now you can view in a single shot.

View Image 3

This is also true if you select any methods or properties from code block.

The “Code Definition window” will also work fine for “Object Browser” and also from “Class View” . Navigate through the classes or methods , code definition window will show the related definition.

View Image 4


Usage of Code Definition Window in VS 2010  (513 Views)
Create New Account