Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
513 views
in Technique[技术] by (71.8m points)

plugins - Visual Studio keyboard shortcut for Method Name combobox

In VS 2008 (and prior versions as well I believe) when in the code editor there are 2 comboboxes at the top of the editor. On the left is a Class Name combobox and on the right is a Method Name combobox. Those are the tooltip descriptions but are a little misleading for instance the Method Name box shows all the methods, properties, events etc in the current file. Do these features have official names?

I use the method name combobox a lot because I'll often know that there's a property or method or something in the file I'm working in, but can't remember the exact name, so the dropdown gives me a quick way to browse for what I need. But I can't find a way to assign a keyboard shortcut to this combobox. Is there a keyboard shortcut or an alternative VS feature that I can use to get this functionality?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Thanks to Jeff's Keyboard Shortcut Summary Macro, I discovered that Ctrl + F2 is mapped to a MovetoNavigationBar command, which pops me into the "Class Name combobox." Add a tab and I'm in the Method Name combobox.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...