Keyboard Shortcuts: Visual Studio (macOS) Keymap
Rider's top keyboard shortcuts
Command | Shortcut |
---|---|
Open Solution or Project | ⌘+⇧+O |
Open File or Folder | ⌘+O |
Show Action List | ⌥+Enter |
Search Everywhere | ⌘+T Double-⇧ |
Navigate To… | ⌥+' |
Find Usages | ⇧+F12 |
Select In... | ⌥+F1 |
Settings... | ⌘+, |
Generate... | ⌥+Insert |
Build Solution | ⌘+⇧+B |
Debug... | ^+⌥+D |
View Breakpoints... | ⌘+⌥+B |
Attach to Local Process... | ⌘+⌥+P |
VCS Operations Popup... | ^+V |
Refactor This... | ⌘+⇧+R |
Inspect This... | ⌘+⌥+⇧+A |
Code Cleanup... | ⌘+E, C ⌘+E, ⌘+C |
Finding everything
Command | Shortcut |
---|---|
Find... | ⌘+F |
Find Next / Move to Next Occurrence | F3 ⌘+⌥+Page Down |
Find Previous / Move to Previous Occurrence | ⇧+F3 ⌘+⌥+Page Up |
Replace... | ⌘+H |
Find in Path... | ⌘+⇧+F |
Find in Path... | ⌘+⇧+F |
Find Word at Caret | ⌘+F3 |
Search Everywhere | ⌘+T Double-⇧ |
File... | ⌘+⇧+T |
File Member | ⌥+\ |
Symbol... | ⌘+⌥+⇧+T |
Navigating from symbols
Command | Shortcut |
---|---|
Declaration | F12 ⌘+Click |
Type Declaration | ⌘+⇧+F11 ⌘+⇧+Click ⇧+Right-click |
Show Usages | ⌥+⇧+F12 |
Base Symbols | ⌥+Home ^+⌥+Left |
Go To Implementation | ⌘+F12 ^+⌥+Click |
Derived Symbols | ⌥+End ⌘+⌥+Click |
Navigate To… | ⌥+' |
Find Usages | ⇧+F12 |
Highlight Usages in File | ⌥+⇧+F11 |
Context navigation
Command | Shortcut |
---|---|
Move Caret to Code Block Start | ⌘+[ |
Next Method | ^+Down |
Previous Method | ^+Up |
Line/Column... | ⌘+G |
Select In... | ⌥+F1 |
Locate in Solution Explorer | ⌥+⇧+L |
Recent Files | ^+, |
Recently Changed Files | ⌘+⇧+, |
Last Edit Location | ⌘+⇧+Backspace |
Back | ⌘+Minus ⌘+NumPad Minus Mouse Back |
Forward | ⌘+⇧+Minus ⌘+⇧+NumPad Minus Mouse Forward |
Add to Favorites | ⌥+⇧+F |
Show Structure window | ⌘+^+7 ⌘+⌥+F |
Show Find window | ⌘+3 ⌘+⌥+F12 |
Show TODO window | ⌘+6 |
Show Favorites window | ⌘+2 |
Code Analysis
Command | Shortcut |
---|---|
Show Action List | ⌥+Enter |
Next Code Issue | ⌥+Page Down |
Previous Code Issue | ⌥+Page Up |
Next Error | ⌥+⇧+Page Down |
Previous Error | ⌥+⇧+Page Up |
Toggle Code Inspection | ⌘+⌥+⇧+8 ^+⌥+⇧+8 |
Toggle Code Inspection | ⌘+⌥+⇧+I |
Inspect This... | ⌘+⌥+⇧+A |
Show Errors in Solution window | ⌘+^+2 |
Show Inspection Results window | ⌘+^+7 ⌘+⌥+F |
Creating and editing code
Command | Shortcut |
---|---|
Select All | ⌘+A |
Move Caret to Previous Word with Selection | ⌥+⇧+Left |
Move Caret to Next Word with Selection | ⌥+⇧+Right |
Move Caret to Page Top with Selection | ⌘+⇧+Page Up |
Move Caret to Page Bottom with Selection | ⌘+⇧+Page Down |
Extend Selection | ⌘+⌥+Right ⌘+W |
Shrink Selection | ⌘+⌥+Left ⌘+⇧+W |
Add Selection for Next Occurrence | ^+G |
Copy | ⌘+C ⌘+Insert |
Cut | ⌘+X ⇧+Delete ⌘+L |
Paste | ⌘+V ⇧+Insert |
Paste Simple | ⌘+⌥+⇧+V |
Paste from History... | ⌘+⇧+V ⌘+⇧+Insert |
Duplicate Line or Selection | ⌘+D |
Copy Paths | ⌘+⇧+C |
Save All | ⌘+⇧+S |
Undo | ⌘+Z |
Indent Selection | Tab |
Unindent Line or Selection | ⇧+Tab |
Move Line Up | ⌥+⇧+Up |
Move Line Down | ⌥+⇧+Down |
Toggle Case | ⌘+⇧+U |
Scratch File | ⌘+⇧+N |
Coding assistance
Command | Shortcut |
---|---|
Show Action List | ⌥+Enter |
Basic | ^+Space ^+J |
SmartType | ^+⌥+Space |
Class Name Completion | ⌥+⇧+Space |
Complete Current Statement | ⌘+⇧+Enter |
Parameter Info | ⌘+⇧+Space |
Quick Documentation | ^+⇧+F1 |
Move Statement Up | ^+⌥+⇧+Up |
Move Statement Down | ^+⌥+⇧+Down |
Move Statement Left | ^+⌥+⇧+Left |
Move Statement Right | ^+⌥+⇧+Right |
Comment with Line Comment | ⌘+⌥+/ ⌘+⌥+NumPad / ⌘+K, C ⌘+K, ⌘+C |
Comment with Block Comment | ⌘+⇧+/ ⌘+⇧+NumPad / |
Generate... | ⌥+Insert |
Code Cleanup... | ⌘+E, C ⌘+E, ⌘+C |
Silent Code Cleanup | ⌘+E, F ⌘+E, ⌘+F |
Building, Running, and Debugging
Command | Shortcut |
---|---|
NuGet Quick List | ⌥+⇧+N |
Build Solution | ⌘+⇧+B |
Run context configuration | ⌘+F5 |
Run... | ⌘+⌥+⇧+R |
Debug context configuration | F5 |
Debug... | ^+⌥+D |
Stop | ⇧+F5 |
Resume Program | F5 |
Step Over | F10 |
Force Step Over | ⌥+⇧+F8 |
Step Into | F11 |
Force Step Into | ⌥+F11 |
Step Out | ⇧+F11 |
Run to Cursor | ⌘+F10 |
Force Run to Cursor | ⌘+⌥+F9 |
Set Next Statement | ⌘+⇧+F10 |
Show Execution Point | ⌥+NumPad * ⌘+L |
Toggle Line Breakpoint | F9 |
Toggle Temporary Line Breakpoint | ⌘+⌥+⇧+F8 |
Toggle Breakpoint Enabled | ⌘+F9 |
View Breakpoints... | ⌘+⌥+B |
Edit breakpoint | ⌥+F9 |
Attach to Local Process... | ⌘+⌥+P |
Evaluate Expression... | ⌥+F8 |
Quick Evaluate Expression | ⇧+F9 |
Show Build window | ⌘+0 |
Show Run window | ⌘+4 |
Show Debug window | ⌘+5 |
Show NuGet window | ⌘+7 ⌘+⇧+7 |
Refactorings
Command | Shortcut |
---|---|
Refactor This... | ⌘+⇧+R |
Change Signature... | ⌘+R, S ⌘+R, ⌘+S |
Inline... | ⌘+R, I ⌘+R, ⌘+I |
Move... | ⌘+R, O ⌘+R, ⌘+O |
Method... | ⌘+R, M ⌘+R, ⌘+M |
Field... | ⌘+R, F ⌘+R, ⌘+F |
Parameter... | ⌘+R, P ⌘+R, ⌘+P |
Variable... | ⌘+R, V ⌘+R, ⌘+V |
Rename... | ⌘+R, R ⌘+R, ⌘+R |
Safe Delete... | ⌘+R, D ⌘+R, ⌘+D ⌥+Delete |
Global VCS actions
Command | Shortcut |
---|---|
VCS Operations Popup... | ^+V |
Show Version Control window | ⌘+9 ⌘+⇧+9 |
Commit | ⌘+⌥+K |
Update Project | ⌘+⌥+W |
Revert | ⌘+⌥+Z |
Push... | ⌘+⇧+K |
Next Change | ⌘+⌥+⇧+N |
Previous Change | ⌘+⌥+⇧+P |
Unit Testing
Command | Shortcut |
---|---|
Run Unit Tests | ⌘+U, R ⌘+U, ⌘+R |
Debug Unit Tests | ⌘+U, D ⌘+U, ⌘+D |
Repeat Previous Run | ⌘+U, U ⌘+U, ⌘+U |
Run All Tests from Solution | ⌘+U, L ⌘+U, ⌘+L |
Create New Session | ⌘+U, N ⌘+U, ⌘+N |
Append Tests to Session | ⌘+U, A ⌘+U, ⌘+A |
Run Current Session | ⌘+U, Y ⌘+U, ⌘+Y |
Show Unit Tests window | ⌘+8 ⌘+⇧+8 |
Tool Windows
Command | Shortcut |
---|---|
Build | ⌘+0 |
Solution | ⌘+⌥+L ⌘+1 |
Favorites | ⌘+2 |
Find | ⌘+3 ⌘+⌥+F12 |
Run | ⌘+4 |
Debug | ⌘+5 |
TODO | ⌘+6 |
NuGet | ⌘+7 ⌘+⇧+7 |
Unit Tests | ⌘+8 ⌘+⇧+8 |
Version Control | ⌘+9 ⌘+⇧+9 |
Terminal | ⌘+^+1 |
Errors In Solution | ⌘+^+2 |
Database | ⌘+^+3 |
Inspection Results | ⌘+^+4 ⌘+⌥+V |
Structure | ⌘+^+7 ⌘+⌥+F |
Last modified: 27 December 2017