Show Menu
Cheatography

Visual Studio Community 2017 for Mac Cheat Sheet by

Maximize productivity of working with Visual Studio for Mac

File

Open...
⌘O
Save
⌘S
Save All
⇧⌘S
Close All
⇧⌘W
Close File
⌘W
Close Workspace
⌥⌘W
New File...
⌘N
New Soluti­on...
⇧⌘N
Revert (to saved)
⌘U
Print...
⌘P
Quit
⌘Q

Project

Add Files...
⌥⌘A
Build
⌘K
⇧F6
Build All
⌘B
F6
Clean
⇧⌘K
Rebuild
⌃⌘K
Rebuild All
⌃⌘B
Start Debugging
⌘⏎
F5
Start Without Debugging
⌥⌘⏎
⌃F5
Stop (Debug­ging)
⇧⌘⏎
⇧F5

Debug

Enable­/Di­sable Breakpoint
⌥⌘/
⌘F9
Pause
⌥⌘P
⌥⌘L5
Remove All Breakp­oints
⇧⌘F9
Run To Cursor
⌘F10
Set Next Statement
⇧⌘F10
Show Next Statement
⌥*
Step Into
⇧⌘I
⌘F11
Step Out
⇧⌘U
⇧⌘F11
Step Over
⇧⌘O
⌘F10
Toggle Breakpoint
⌘\
F9
View Breakp­oints
⌥⌘B

Edit

Cut
⌘X
Copy
⌘C
Paste
⌘V
Delete
⌘⌫
Select All
⌘A
Undo
⌘Z
Redo
⇧⌘Z
Rename...
⌘R
F2
Indent Selection
⌘]
Unindent Selection
⌘[
Toggle Line Comment(s)
⌘/
Format Document
⌃I
Toggle All Folds
⌥⇧⌘↑
Toggle Defini­tions
⌥⇧⌘↓
Toggle Fold
⌥⇧⌘←
Show Code Generation
⌘I
Prefer­enc­es...
⌘,
 

Text Editor

Complete Word
Space
Delete left character
⌃H
Delete next subword
⌃⌦
Delete next word
⌥⌦
Delete previous subword
⌃⌫
Delete previous word
⌥⌫
Delete right character
⌃D
Delete to end of line
⌃K
Dynamic abbrev
⌃/
Expand selection (up)
⌥⇧↑
Expand selection (down)
⌥⇧↓
Expand selection, doc end
⇧⌘↓
⇧⌘↘
Expand selection, doc start
⇧⌘↑
⇧⌘↖
Expand selection, line end
⇧↘
⇧⌘→
Expand selection, line start
⇧↖
⇧⌘←
Expand selection, next line
⇧↓
Expand selection, prev line
⇧↑
Expand selection, next wrd
⌥⇧→
Expand selection, prev wrd
⌥⇧←
Expand selection to pgdn
⇧⇟
Expand selection to pgup
⇧⇞
Expand selection, left
⇧←
Expand selection, right
⇧→
Find caret
⌘|
Go left one character
⌃B
Go right one character
⌃F
Go to beginning of doc
⌘↑
Go to end of doc
⌘↓
Go to beginning of line
⌘←
⌃A
Go to end of line
⌘→
⌃E
Go to Matching Brace
⇧⌘\
Go to next line
⌃N
Go to previous line
⌃P
Go to next word
⌥→
Go to previous word
⌥←
Insert line break after caret
⌃O
Move EOL, insert new line
⇧⏎
Move line or selection down
⌥↓
Move line or selection up
⌥↑
Move to next usage
⌃⌥⌘↓
Move to previous usage
⌃⌥⌘↑
Show Parameter List
⌃⇧ Space
Show quick info
⌘F1
Show Scopes
⌥⇧⌘P
Transpose characters
⌃T
Wrap with <di­v>
⌥⇧W
 

Code Navigation

Find Reference Usages
⌘F12
Find References
⇧⌘R
⇧F12
Go to Declar­ation
⌘D
F12
Next Error
⌥⇧⇟
⇧⌘F12
Previous Error
⌥⇧⇞
Next Issue in File
⌥⇟
Previous Issue in File
⌥⇞

Search

Find...
⌘F
Find Next
⌘G
F3
Find Previous
⇧⌘G
⇧F3
Find in Files...
⇧⌘F
Find Next Like Selection
⌘F3
Find Previous Like Selection
⇧⌘F3
Replace...
⌥⌘F
Go to File...
⇧⌘D
Replace in Files...
⌥⇧⌘F
Go to Line...
⌘L
Go to Type...
⇧⌘T
Navigate To...
⌘.
Command...
⇧⌘P

Refact­oring

Import Symbol...
⌃⌥ Space
Quick Fix...
⌥⏎

View

Full Screen
⌃⌘F
Center and Focus Document
⌃L
Focus Document
F7
Navigate Back
⌃⌘←
Navigate Forward
⌃⌘→
One Editor Column
⌥⌘1
Two Editor Columns
⌥⌘2
Zoom In
⌘+
⌘=
Zoom Out
⌘-
⌘_
Normal Size
⌘0
Show Next
⌥⌘↓
F8
Show Previous
⌥⌘↑
⇧F8
Move to Next Notebook
⌥⌘→
Move to Previous Notebook
⌥⌘←

Window

Activate 1-9
⌘n (where n is 1-9)
Next Document
⌘}
⌘F6
Previous Document
⌘{
⇧⌘F6
Switch to next doc
⌃⇥
Switch to prev doc
⌃⇧⇥
Switch to next pad
⌃⌥⇥
Switch to prev pad
⌃⌥⇧⇥
Hide Visual Studio Community
⌘H
Hide Others
⌥⌘H
Minimize
⌘M
                       
 

Comments

I like it

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Visual Studio 2013 Community Cheat Sheet
          Jetbrains Rider - Keyboard Shortcuts Cheat Sheet