postersbta.blogg.se

Best visual studio shortcuts
Best visual studio shortcuts










Too large code base? Minimize the code and find it easy to navigate through the code. Tired of copy-scroll-paste, copy-scroll-paste? You can replace it with copy-copy-scroll-paste-paste by using this shortcut Cycle through the list of clipboard contents Ctrl+Shift+V.They are not hit by the debugger but can still help you remember where a bug that you discovered yesterday is present. This is a well-known legend yet in the form of a simple shortcut key.īookmarks, they are cousins to the breakpoints. To select the code between the braces, add shift key to the combination. To find the matching brace of a function/class use this shortcut. Got you!! You cant hide from me, You dumb closing brace! Select any snippet from the context menu shown and consider it done. Don’t worry, select the code and press these keys. Want a piece of code within an if-condition or a for-loop. VS offers many snippets like try-catch, for, class, foreach etc Baam! the if-condition is completed for you. Type if and then press the tab key twice. Bored of writing if-conditions and making sure that they are surrounded by braces? Searching for the menubar and the panels while on Full Screen? This is here to rescueĪ simple search box is opened you can start typing after pressing this hotkey and press again to go to next resultīest of the shortcuts. Full Screen without losing the panels Alt+Shift+Enter.This is the hotkey for the back and forward buttons Navigate Forward/Backward Ctrl+–/Ctrl+Shift+–įorgot the previous location of your cursor? Don’t worry.You can bulk comment and uncomment by using this shortcut. Comment/Uncomment block of code Ctrl+K+C/Ctrl+K+U.Sometimes you would want to hide the annoying code that is blocking your view or distracting you, use this then. Collapse/Expand selection Ctrl+M+H/Ctrl+M+U.They do all with their precious keystrokes combined with Shift, Ctrl, and Alt, Is’nt it? And who wouldn’t like shortcuts after all?įor those people who use Visual Studio to write code, behold I present you few of my favorite and best shortcuts that can be used while writing and managing code. Sometimes I used to wonder how the system administrators are very fast in setting up things, restarting a crashed network, etc. It is found that you could be more efficient and appear smarter if you use shortcut keys rather than doing things with the mouse.












Best visual studio shortcuts