I just installed Visual Studio 2012 and am having a hard time navigating within a file. What I'd like to be able to do is type in one or more characters of a class, method, field or property within a file and jump right to that line. For example, if I had the code:
public class Foo
{
public void Bar()
{
}
}
I'd like to be be able to hit a keyboard shortcut, type "Ba" and jump right to the Bar
method of the Foo
class.
In VS2008 and VS2010, I used USysWare's DPack to do this using the Alt + G keyboard shortcut. However, there does not appear to be a version of this plugin for VS2012, at least not yet.
I did find the Ctrl + ; shortcut key to search the solution, which seems to work fairly well for jumping to a specific file (similar to DPack's Alt + U shortcut), however I'm looking for something that will search code within the currently opened file.
BTW, I'm currently using VS2012 Express Edition, but will be upgrading to VS2012 Pro when I have the time to download it and set it up. I believe there's some minor differences between these versions, so I'm interested in answers that apply to either or both.