VS2008 Go to class definition add-in

I'm looking for a Visual Studio add-in that will parse the text around the cursor position and navigate to the appropriate class definition.

For example, I have this XML file that is currently open:

<object id="abc" type="MyProject.Foo.Bar, MyProject"/>

      

If I place the cursor somewhere between the double quotes in the type attribute, the add-in should get the string "MyProject.Foo.Bar, MyProject" and look for all projects and project references in the current solution for the given type and if it finds it, it should go to the class definition (or metadata if the source code is not available in the current solution).

If no such add-on exists, I would really appreciate some pointers that could help me write one.

+1


source to share


2 answers


Well, you can use the " Code Definition Window " that comes with the VS2008 IDE. When you place your cursor, the Defix Window will dynamically update the source code for that type. Works on regular source files .. you don't have an IDE to check with XAML / XML



You can also use the Go To Symbol keyboard shortcut, but you need to add CodeRush Express code to do this. Shift + Ctrl + Q. More details here .

+2


source


Use Alt + G command in Visual Assist .



0


source







All Articles