fast way to find a type in visual studio 2005

  • Thread starter Thread starter puzzlecracker
  • Start date Start date
P

puzzlecracker

I am sick and tired of looking in explorer or right-click on the type
in some class to go to its definition. In eclipse (java) you could do
ctrl-shift-t and then type a Type you're looking for and it will open
it. What is the shortcut in vs 2008?

Thanks
 
puzzlecracker said:
I am sick and tired of looking in explorer or right-click on the type
in some class to go to its definition. In eclipse (java) you could do
ctrl-shift-t and then type a Type you're looking for and it will open
it. What is the shortcut in vs 2008?

Sadly, the answer is: buy ReSharper. I don't believe that VS has this
functionality built in.

This isn't the only Eclipse-like functionality in ReSharper. See this
blog post for more:

http://msmvps.com/blogs/jon_skeet/archive/2007/03/27/visual-studio-
2005-vs-eclipse-again-but-this-time-with-resharper.aspx

(That was about ReSharper 3.x - I believe the default bindings have
changed in 4.x. Certainly my VS is set up for Ctrl-T as "open type" and
Ctrl-Shift-T as "open file" - which I suspect are defaults, as if I'd
set them up manually I'd have used the Eclipse bindings.)
 
By default for the General environment should be F12 (this is the default
for Visual Studio 2008...2003 had a similar one but for me it was Shift-F2
.... don't remember the settings I had and whether it was default or not).

The command to look for is Edit.GoToDefinition
(Tools->Options->Environment->Keyboard->"Show commands containing:" textbox,
type in Edit.GoToDefinition).

Now, it could be that Visual Studio 2005 just doesn't have the command...but
Visual Studio .Net 2003 and Visual Studio 2008 do have it...

HTH,
Mythran
 
Back
Top