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… | ⌘+⇧+G |
Find Usages | ⇧+F12 |
Select In... | ⌥+F1 |
Settings... | ⌘+, |
Find Action... | ⌘+⇧+A |
Generate... | ⌘+⌃+N |
Build Solution | ⌘+⇧+B |
Debug... | ⌃+⌥+D |
View Breakpoints... | ⌘+⌥+B |
Attach to Process... | ⌥+⇧+F5 |
VCS Operations Popup... | ⌃+V |
Refactor This... | ⌘+⇧+R |
Inspect This... | ⌘+⌥+⇧+A |
Code Cleanup... | ⌘+E, C ⌘+E, ⌘+C |
Finding everything
Command | Shortcut |
---|---|
Search Everywhere | ⌘+T Double-⇧ |
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 |
Replace in Path... | ⌘+⇧+H |
Find Word at Caret | ⌘+F3 |
File... | ⌘+⇧+T |
File Member | ⌥+\ |
Symbol... | ⌘+⌥+⇧+T |
Find Action... | ⌘+⇧+A |
Navigating from symbols
Command | Shortcut |
---|---|
Declaration or Usages | F12 ⌘+Click |
Type Declaration | ⌘+⇧+F11 ⌘+⇧+Click ⇧+Right-click |
Show Usages | ⌥+⇧+F12 |
Super Method | ⌥+Home ⌃+⌥+Left |
Implementation(s) | ⌘+F12 ⌃+⌥+Click |
Implementation(s) | ⌥+End ⌘+⌥+Click |
Navigate To… | ⌘+⇧+G |
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 |
Switcher | ⌃+Tab ⌃+⇧+Tab |
Select In... | ⌥+F1 |
Locate/Select in Solution View | ⌥+⇧+L |
Recent Files | ⌃+, |
Recently Changed Files | ⌘+⇧+, |
Last Edit Location | ⌘+⇧+Backspace |
Back | ⌘+Minus ⌘+NumPad Minus Mouse Back |
Forward | ⌘+⇧+Minus ⌘+⇧+NumPad Minus Mouse Forward |
Select Next Tab | ⌘+⇧+] ⌃+Right |
Select Previous Tab | ⌘+⇧+[ ⌃+Left |
Add to Favorites | ⌥+⇧+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 |
Run Inspection by Name | ⌘+⌥+⇧+I |
Inspect This... | ⌘+⌥+⇧+A |
Show Errors in Solution window | ⌘+⌃+2 |
Show Inspection Results window | ⌘+⌃+4 ⌘+⌥+V |
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 |
Shrink Selection | ⌘+⌥+Left |
Add Selection for Next Occurrence | ⌃+G |
Copy | ⌘+C ⌘+Insert |
Cut | ⌘+X ⇧+Delete ⌘+L |
Paste | ⌘+V ⇧+Insert |
Paste without Formatting | ⌘+⌥+⇧+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 |
Start New Line | ⇧+Enter |
Start New Line Before Current | ⌘+Enter |
Delete Line | ⌘+⇧+L |
Toggle Case | ⌘+⇧+U |
New Scratch File | ⌘+⇧+N |
Coding assistance
Command | Shortcut |
---|---|
Show Action List | ⌥+Enter |
Basic Completion | ⌃+Space ⌃+J |
Smart Completion | ⌃+⌥+Space |
Second Basic Completion | ⌥+⇧+Space |
Complete Current Statement | ⌘+⇧+Enter |
Parameter Info | ⌘+P |
Quick Documentation | ⌃+⇧+F1 |
Move Statement Up | ⌃+⌥+⇧+Up |
Move Statement Down | ⌃+⌥+⇧+Down |
Move Statement Left | ⌘+⌥+⇧+Left ⌃+⌥+⇧+Left |
Move Statement Right | ⌘+⌥+⇧+Right ⌃+⌥+⇧+Right |
Comment/uncomment with Line Comment | ⌘+⌥+/ ⌘+⌥+NumPad / ⌘+K, C ⌘+K, ⌘+C |
Comment/uncomment with Block Comment | ⌘+⌃+/ ⌘+⇧+NumPad / |
Generate... | ⌘+⌃+N |
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 |
Attach to Process... | ⌥+⇧+F5 |
Stop | ⇧+F5 |
Stop Background Processes... | ⌘+⇧+F2 |
Step Over | F10 |
Force Step Over | ⌥+⇧+F8 |
Step Into | F11 |
Smart Step Into | ⇧+F7 |
Force Step Into | ⌥+F11 |
Step Out | ⇧+F11 |
Run to Cursor | ⌘+F10 |
Force Run to Cursor | ⌘+⌥+F9 |
Skip to Cursor | ⌘+⇧+F10 |
Pause Program | ⌘+Pause ⌘+⇧+P |
Resume Program | F5 |
Evaluate Expression... | ⇧+F9 |
Quick Evaluate Expression | ⌘+⌥+F8 ⌥+Click |
Show Execution Point | ⌥+NumPad * ⌘+L |
Toggle Line Breakpoint | F9 |
Toggle Temporary Line Breakpoint | ⌘+⌥+⇧+F8 |
Toggle Breakpoint Enabled | ⌘+F9 |
View Breakpoints... | ⌘+⌥+B |
Edit breakpoint | ⌥+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 |
Extract Method... | ⌘+R, M ⌘+R, ⌘+M |
Introduce Field... | ⌘+R, F ⌘+R, ⌘+F |
Introduce Parameter... | ⌘+R, P ⌘+R, ⌘+P |
Introduce 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 Commit window | ⌥+⇧+9 ⌘+⇧+9 |
Show Repository window | ⌥+9 ⌘+9 |
Commit... | ⌘+⌥+⇧+K |
Update Project | ⌘+⌥+W |
Rollback | ⌘+⌥+Z |
Push... | ⌘+⇧+K |
Next Change | ⌘+⌥+⇧+N |
Previous Change | ⌘+⌥+⇧+P |
Unit Testing
Command | Shortcut |
---|---|
Unit Testing Quick List... | ⌥+⇧+U |
Run Unit Tests | ⌘+U, R ⌘+U, ⌘+R |
Debug Unit Tests | ⌘+U, D ⌘+U, ⌘+D |
Stop Execution | ⌘+U, S ⌘+U, ⌘+S |
Repeat Previous Run | ⌘+U, U ⌘+U, ⌘+U |
Rerun Failed Tests | ⌘+U, F ⌘+U, ⌘+F |
Repeat Tests Until Failure | ⌘+U, W ⌘+U, ⌘+W |
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 |
Run Unit Tests under dotMemory Unit | ⌘+U, M ⌘+U, ⌘+M |
Show Unit Tests window | ⌘+8 ⌘+⇧+8 |
Run Unit Tests (Tool Window) | ⇧+Enter |
Debug Unit Tests (Tool Window) | ⌘+D |
Run Current Session (Tool Window) | ⌘+Y |
Rerun Failed Tests (Tool Window) | ⌘+F |
Create New Session (Tool Window) | ⌘+⇧+N |
Append Tests to Session (Tool Window) | ⌘+⌥+N |
Remove Selected Tests (Tool Window) | Backspace |
Run All Tests from Solution (Tool Window) | ⌘+L |
Tool Windows
Command | Shortcut |
---|---|
Build | ⌘+0 |
Explorer | ⌘+⌥+L ⌘+1 |
Favorites | ⌘+2 |
Find | ⌘+3 ⌘+⌥+F12 |
Run | ⌘+4 |
Debug | ⌘+5 |
TODO | ⌘+6 |
NuGet | ⌘+7 ⌘+⇧+7 |
Unit Tests | ⌘+8 ⌘+⇧+8 |
Commit | ⌥+⇧+9 ⌘+⇧+9 |
Repository | ⌥+9 ⌘+9 |
Terminal | ⌘+⌃+1 |
Errors In Solution | ⌘+⌃+2 |
Database | ⌘+⌃+3 |
Inspection Results | ⌘+⌃+4 ⌘+⌥+V |
Last modified: 16 April 2020