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?
Edit.SelectionCancel. Surround with. Ctrl+K, Ctrl+S. (available only in Visual Studio 2019 and earlier)
How to use Ctrl+W to close a tab in Visual Studio – Done by code.
Find, Global Find & Find and Replace You've probably already discovered the search shortcut Ctrl-F, but did you know Visual Studio Code has different types of find features built-in? Ctrl + F as mentioned above this shortcut will find whatever you search for in the current file.
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.
An alternative way would be DPack (a free Visual Studio add-in). It allows you to navigate very quickly.
What you should first look at is Alt + U and Alt + M keyboard shortcuts, although I recemmend you going through it's options and looking at DPak's website for a brief overview.
Personally I love DPack and it's the 1st thing I add to my VS (with ReSharper right after it ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With