In the Delphi IDE, you can hold control and click on a method to jump to its definition. In VS2008, you have to right-click and select ‘Go To Definition’.
I use this function quite often, so I’d really like to get VS to behave like Delphi in this regard – its so much quicker to ctrl+click.
I don’t think there’s a way to get this working in base VS2008 – am I wrong? Or maybe there’s a plugin I could use?
Edit: Click then F12 does work – but isn’t really a good solution for me.. It’s still way slower than ctrl+click. I might try AutoHotkey, since I’m already running it for something else.
Edit: AutoHotkey worked for me. Here’s my script:
SetTitleMatchMode RegEx #IfWinActive, .* - Microsoft Visual Studio ^LButton::Send {click}{f12}
You could create an Autohotkey script that does that. When you ctrl-click a word, send a doubleclick then a F12.
I don’t have AHK handy so I can’t try and sketch some code but it should be pretty easy; the AHK recorder should have enough features to let you create it in a point ‘n’ click fashion and IIRC it is smart enough to let you limit this behaviour to windows of a certain class only.
When you have your script ready just run the script in the background while you code. It takes just an icon in the Notify bar.