You can also jump to a specific line number by prefixing it with ':' or search symbols using the '#' filter.
Type '?' to see the full list:Īs you can see from the image above, you can prefix your search with 'f' for Files, 'm' for Members, or 't' for Types. You can trigger any of these filters and more using the icons at the top of the dialog, but you can also specify these filters using a single character prefix. See, sometimes you know you're looking for a file, while other times you want a type. What's even cooler, though, is the UI for filtering down the selection.
However, if you have a term selected, Go to All will appear pre-populated with the term and will immediately display the results for it: If you don't have anything selected when you trigger Go to All, you'll see the default behavior shown above. When it comes up, it defaults to searching in a wide variety of places (hence the 'All' moniker), but you can easily narrow it down with a keyboard shortcut. The Go to All dialog in Visual Studio is triggered by default with the Ctrl+t shortcut. The second tool, though, is a multi-find tool in Visual Studio 2017 that's accessed by default using Ctrl+t.
This will help you deliver software as a series of vertical slices and makes it easier to work within a single folder when working on a feature. Be comfortable using folders to organize your files, ideally around the feature they provide to the user, not the kind of file they happen to be. The first one is the lowly directory/folder. Fortunately, there are tools that make it easier to work with many files. This isn't a problem unless you have a hard time working with lots of files. It also means my applications tend to have a large number of files. This helps follow certain SOLID principles, like Single Responsibility and Interface Segregation. WindowsAzure.ShowMobileServiceScriptErrorDetailsĬlass View context menus: global shortcuts CommandsĬ'm a proponent of small, single-purpose files for most things in software applications. These keyboard shortcuts are global, which means that you can use them when any Visual Studio window has focus. (available only in Visual Studio 2019 and earlier) You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.Įnter Īlt+Right Arrow The Global context means that the shortcut is applicable in any tool window in Visual Studio.
Popular keyboard shortcuts for Visual StudioĪll shortcuts in this section apply globally unless otherwise specified. Printable shortcut cheatsheetĬlick to get our printable keyboard shortcut cheatsheet for Visual Studio. You can also customize your shortcuts by assigning a different shortcut to any given command.įor a list of common keyboard shortcuts and other productivity information, see:įor more information about accessibility in Visual Studio, see Accessibility tips and tricks and How to: Use the keyboard exclusively. No matter which profile you chose, you can identify the shortcut for a command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard. This page lists the default command shortcuts for the General profile, which you might have chosen when you installed Visual Studio.
You can access a variety of commands and windows in Visual Studio by choosing the appropriate keyboard shortcut.