Visual Studio

Shortcut Keys For Visual Studio

Here, we will see the most useful shortcut used in Visual Studio. Shortcuts are very useful as they make our task easy and fast. So we have shown some most useful shortcuts for Visual Studio.

Build Shortcuts

  • Build Solution: Ctrl+Shift+B
  • Cancel: Ctrl+Break
  • Run Code Analysis on Solution: Alt+F11

Class View Context Menus

  • Properties: Alt+Enter

Misc

  • Commit All Edits: Shift+Alt+U
  • Move Left Edgetotheleft: Ctrl+Shift+,
  • Move Left Edgetotheright: Ctrl+Shift+.
  • Move Right Edgetotheleft: Ctrl+Shift+Alt+,
  • Move Right Edgetotheright: Ctrl+Shift+Alt+.
  • TSql Editor Clone Query: Ctrl+Alt+N
  • TSql Editor Database Combo: Shift+Alt+PgDn
  • View File In Script Panel: Shift+Alt+PgDn

Project

  • Add Content Page: Ctrl+M, Ctrl+C
  • Add Existing Item: Shift+Alt+A
  • Add New Item: Ctrl+Shift+A
  • Override: Ctrl+Alt+Ins
  • Preview changes: Alt+;, Alt+C
  • Publish selected files: Alt+;, Alt+P
  • Replace selected files from the server: Alt+;, Alt+R

Query Designer

  • Cancel Retrieving Data: Ctrl+T
  • Criteria: Ctrl+2
  • Diagram: Ctrl+1
  • Execute SQL: Ctrl+R
  • Goto Row: Ctrl+G
  • Join Mode: Ctrl+Shift+J
  • Results: Ctrl+4
  • SQL: Ctrl+3

Refactor

  • Encapsulate Field: Ctrl+R, Ctrl+E
  • Extract Interface: Ctrl+R, Ctrl+I
  • Extract Method: Ctrl+R, Ctrl+M
  • Remove Parameters: Ctrl+R, Ctrl+V
  • Rename: Ctrl+R, Ctrl+R
  • Reorder Parameters: Ctrl+R, Ctrl+O

Edit

  • Collapse All Outlining: Ctrl+M, Ctrl+A
  • Comment Selection: Ctrl+K, Ctrl+C
  • Complete Word: Ctrl+Space
  • Contract Selection: Alt+2
  • Copy Parameter Tip: Ctrl+Shift+Alt+C
  • Cycle Clipboard Ring: Ctrl+Shift+V
  • Delete Horizontal White Space: Ctrl+K, Ctrl+\
  • Expand All Outlining: Ctrl+M, Ctrl+X
  • Find All References: Shift+F12
Faisal Pathan

Faisal Pathan is a founder of TheCodeHubs, .NET Project Manager/Team Leader, and C# Corner MVP. He has extensive experience with designing and developing enterprise-scale applications. He has good skills in ASP.NET C#, ASP.NET Core, ASP.NET MVC, AngularJS, Angular, React, NodeJS, Amazon S3, Web API, EPPlus, Amazon MWS, eBay Integration, SQL, Entity Framework, JavaScript, eCommerce Integration like Walmart, Tanga, Newegg, Group-on Store, etc. and Windows services.

Share
Published by
Faisal Pathan

Recent Posts

Testing hk

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Operation

Testing

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

Create and Used PIPE in angular

In this article, we have to show Create and Used PIPE in angular

2 years ago

TETS NEW

test

2 years ago