Most people using Resharper will know this as ctrl + shift + t. Go to all (ctrl + shift + T in resharper) This is also handy if you wish to delete several lines - you just hit it as many times as you want rows to go away. I'd rather prefer Edit.LineDelete which is defaulted to ctrl + shift + l (I use shift + delete though). Why do I even use a shortcut for this? Well to delete a line, you could choose to go to the end or start of it, then select the whole line with shift + end/home - then hit delete. But here I can edit both lines simultaneously. Normally I would have to delete the "public" part one at a time. In the below image I am about to change the isolation level of two properties at the same time: It is a simple and great way to edit several lines at a time. But this opens the folder of the item you currently have selected in the solution explorer.Īlt + shift + down/up is something that works in many IDEs and text editing programs (I have noticed notepad++ uses this too). I am not sure why I chose this combination but it is built into my fingers by now - I can't change it. This has no default binding to it, it is unassigned per default. This can be done by using the keybinding File.OpenContainingFolder.
![visual studio shortcuts find visual studio shortcuts find](https://miro.medium.com/max/1400/1*VpH1D4hf1jomX-9jlSCMQw.png)
Often we wish to access the folder structure of this item. So with the previous command we can now find items in our solution explorer. This will find the document you currently have open in the solution explorer. Have you ever used "goto implementation" so many times that you have no idea where you are in the solution explorer? In visual studio you can use the keybinding SolutionExplorer.SyncWithActiveDocument which per default is ctrl + ´, ctrl + s (´ is the sign next to 0). Now you can just type "manage nuget packages" and hit enter. Using ctrl + q ( Window.QuickLaunch binding) you instantly go to quicklaunch which per default is located in the upper right corner: Such as the nuget package manager, settings or perhaps you need to see your key bindings. Often you would like to search items in your solution but this one is for finding menu items.
![visual studio shortcuts find visual studio shortcuts find](https://resources.jetbrains.com/help/img/dotnet/2021.2/ReSharperKeyboardScheme.png)
If * does not work, use Shift + 8 for ENU keyboards as explained hereĬloses the current Tool Window with focusĮxpands the Smart Tag Menu (Usually when you rename a method or need to add a ‘using’ statement).Do you know what quick launch is? It is a great feature in Visual Studio which lets you search the menu items. Uncomment a Line or an entire selected blockĬollapses all Regions to provide a high level overview of the types and members in the source fileĮxpands all tabs in a Toolbox. You can even use F3ĭisplays a list of all references for the symbol selectedĬomment a Line or an entire selected block Also try Alt+W+2ĭisplays the ‘Find in Files’ tab of the ‘Find and Replace’ dialog boxĪctivates Incremental Search by searching for the next occurrence of the input text. Switch between the Design and Source View of the documentĭisplays the IDE Navigator with the current document selected.
VISUAL STUDIO SHORTCUTS FIND CODE
Moves cursor to the next browsed line of code Moves the cursor to the matching brace in the source file You can bookmark this link and make them your favorites too! I have tested these shortcuts on VS 2010, but most of them work on VS 2008 too. Here is a list of my favorite Visual Studio Keyboard Shortcuts that I use all the time to increase my productivity and perform repetitive tasks with ease.