Click here to Skip to main content
15,911,762 members
Articles / All Topics

19 Must-Know Visual Studio Keyboard Shortcuts – Part 1

Rate me:
Please Sign up or sign in to vote.
4.96/5 (19 votes)
15 Jul 2015Ms-PL2 min read 54.7K   34  
A short list of keyboard shortcuts for things you probably do often in Visual Studio.
This is an old version of the currently published technical blog.

Here, I will give you a short list of keyboard shortcuts for things you probably do often in Visual Studio.

19 Must-Know Visual Studio Keyboard Shortcuts - Part 1

Visual Studio Keyboard Shortcuts

Project Related Keyboard Shortcuts

  • Ctrl + Shift + B = Build your project
  • Ctrl + Alt + L = Shows Solution Explorer
  • Shift + Alt + C = Add new class
  • Shift + Alt + A = Add new item to project

Editor Related Keyboard Shortcuts

  • Ctrl + Enter = Insert blank line above the current line
  • Ctrl + Shift + Enter = Insert blank line below the current line
  • Ctrl + Space = Autocomplete using IntelliSense
  • Alt +Shift +arrow keys(,,,) = Select custom part of the code
  • Ctrl + } = Match curly braces, brackets
  • Ctrl + Shift + } = Select text between matched braces, brackets
  • Ctrl + Shift + S = Saves all files and projects
  • Ctrl + K, Ctrl + C = Comments the selected lines
  • Ctrl + K, Ctrl + U = Uncomments the selected lines
  • Ctrl + K, Ctrl + D = Do proper alignment of all the code
  • Shift + End = Select the entire line from start to end
  • Shift + Home = Select the entire line from end to start
  • Ctrl + Delete = Deletes the word to the right of the cursor

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

Read the complete list of shortcuts here.

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

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

License

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


Written By
CEO Automate The Planet
Bulgaria Bulgaria
CTO and Co-founder of Automate The Planet Ltd, inventor of BELLATRIX Test Automation Framework, author of "Design Patterns for High-Quality Automated Tests: High-Quality Test Attributes and Best Practices" in C# and Java. Nowadays, he leads a team of passionate engineers helping companies succeed with their test automation. Additionally, he consults companies and leads automated testing trainings, writes books, and gives conference talks. You can find him on LinkedIn every day.

Comments and Discussions

Discussions on this specific version of this article. Add your comments on how to improve this article here. These comments will not be visible on the final published version of this article.