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

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe

Select Categories