Click here to Skip to main content
13,147,540 members (28,495 online)
Click here to Skip to main content
Add your own
alternative version

Stats

15.4K views
24 bookmarked
Posted 15 Jul 2015

19 Must-Know Visual Studio Keyboard Shortcuts – Part 2

, 25 Feb 2016
Rate this:
Please Sign up or sign in to vote.
A short list of keyboard shortcuts for things you probably do often in Visual Studio

Here, you will find a short list of keyboard shortcuts for things you probably do often in Visual Studio. You can find the first blog post of the series here: 19 Must-Know Visual Studio Keyboard Shortcuts – Part 1.

Visual Studio Keyboard Shortcuts

Visual Studio Keyboard Shortcuts

Navigation Related Keyboard Shortcuts

  • Ctrl + Up/Down = Scrolls the window without moving the cursor
  • Ctrl + – = Take cursor to its previous location
  • Ctrl + + = Take cursor to its next location
  • F12 = Go to definition

Debugging Related Keyboard Shortcuts

  • Ctrl + Alt + P = Attach to process
  • F10 = Debug step over
  • F5 = Start debugging
  • Shift + F5 = Stop debugging
  • Ctrl + Alt + Q = Add quick watch
  • F9 = Set or remove a breakpoint

Search Related Keyboard Shortcuts

  • Ctrl + K Ctrl + K = Bookmark the current line
  • Ctrl + K Ctrl + N = Navigates to next bookmark
  • Ctrl + . = If you type in a class name like Collection<string> and do not have the proper namespace import, then this shortcut combination will automatically insert the import
  • Ctrl + Shift + F = Find in Files
  • Shift + F12 = Find all references
  • Ctrl + F = Displays the Find Dialog
  • Ctrl + H = Displays the Replace Dialog
  • Ctrl + G = Jumps to the line number or go to the line
  • Ctrl + Shift + F = Find the references of the selected item in the entire solution

You can find more useful Visual Studio keyboard shortcuts here.

Read the complete list of shortcuts here.

Next, you can find even more useful Visual Studio keyboard shortcuts in the first article from the series - 19 Must-Know Visual Studio Keyboard Shortcuts – Part 1.

So Far in the C# Series

  1. Implement Copy Paste C# Code
  2. MSBuild TCP IP Logger C# Code
  3. Windows Registry Read Write C# Code
  4. Change .config File at Runtime C# Code
  5. Generic Properties Validator C# Code
  6. Reduced AutoMapper- Auto-Map Objects 180% Faster
  7. 7 New Cool Features in C# 6.0
  8. Types Of Code Coverage- Examples In C#
  9. MSTest Rerun Failed Tests Through MSTest.exe Wrapper Application
  10. Hints For Arranging Usings in Visual Studio Efficiently
  11. 19 Must-Know Visual Studio Keyboard Shortcuts – Part 1
  12. 19 Must-Know Visual Studio Keyboard Shortcuts – Part 2
  13. Specify Assembly References Based On Build Configuration in Visual Studio
  14. Top 15 Underutilized Features of .NET
  15. Top 15 Underutilized Features of .NET Part 2
  16. Neat Tricks for Effortlessly Format Currency in C#
  17. Assert DateTime the Right Way MSTest NUnit C# Code
  18. Which Works Faster- Null Coalescing Operator or GetValueOrDefault or Conditional Operator
  19. Specification-based Test Design Techniques for Enhancing Unit Tests
  20. Get Property Names Using Lambda Expressions in C#
  21. Top 9 Windows Event Log Tips Using C#

If you enjoy my publications, feel free to SUBSCRIBE.
Also, hit these share buttons. Thank you!

The post 19 Must-Know Visual Studio Keyboard Shortcuts – Part 2 appeared first on Automate The Planet.

All images are purchased from DepositPhotos.com and cannot be downloaded and used for free. License Agreement

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Anton Angelov
CEO Automate The Planet
Bulgaria Bulgaria
Anton Angelov is an IT Consultant and Quality Assurance Architect at Innovative Lab. He is passionate about automation testing and designing test harness and tools, having the best industry development practices in mind. In addition, he is an active blogger and the founder of Automate The Planet. He strives to make the site one of the leading authorities in Automation Testing by presenting compelling articles, inspiring ardent discussions amongst the community. He is also one of the most-rated-answer authors of questions about Test Automation Frameworks (WebDriver) on Stack Overflow.

You may also be interested in...

Comments and Discussions

 
SuggestionIt depends on your Visual studio profile Pin
Nicolas Penin16-Jul-15 23:49
memberNicolas Penin16-Jul-15 23:49 
QuestionDon't forget Alt + F12 Pin
Member 1184190116-Jul-15 2:34
memberMember 1184190116-Jul-15 2:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170915.1 | Last Updated 25 Feb 2016
Article Copyright 2015 by Anton Angelov
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid