Keyboard Shortcuts: Visual Studio (macOS) Keymap
When consulting this documentation, you can see keyboard shortcuts for the keymap that you use — choose it with the selector at the top of the page:
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... | ⌘+⌥+P |
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 |
Next Occurrence of the Word at Caret | ⌘+F3 |
Go to File... | ⌘+⇧+T |
File Member | ⌥+\ |
Go to Symbol... | ⌘+⌥+⇧+T |
Find Action... | ⌘+⇧+A |
Navigating from symbols
Command | Shortcut |
---|---|
Go to Declaration or Usages | F12 ⌘+Click |
Go to Type Declaration | ⌘+⇧+F11 ⌘+⇧+Click ⇧+Right-click |
Show Usages | ⌥+⇧+F12 |
Go to Super Method | ⌥+Home ⌃+⌥+Left |
Implementation(s) | ⌘+F12 ⌃+⌥+Click |
Go to Implementation(s) | ⌥+End ⌘+⌥+Click |
Navigate To… | ⌘+⇧+G |
Find Usages | ⇧+F12 |
Highlight Usages in File | ⌥+⇧+F11 |
Context navigation
Command | Shortcut |
---|---|
Next Method | ⌃+Down |
Previous Method | ⌃+Up |
Go to 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 |
Show Bookmarks | ⌃+` |
Toggle Bookmark | ⌘+K, K ⌘+K, ⌘+K |
Toggle Bookmark with Mnemonic | ⌥+F3 |
Add to Favorites | ⌥+⇧+F |
Show Structure window | ⌃+⌥+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
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 Element Left | ⌘+⌥+⇧+Left |
Move Element Right | ⌘+⌥+⇧+Right |
Comment/uncomment with Line Comment | ⌘+⌥+/ ⌘+⌥+NumPad / ⌘+K, C ⌘+K, ⌘+C ⌘+K, ⌘+/ ⌘+K, ⌘+U |
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... | ⌘+⌥+P |
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 | |
Show Version Control window | ⌘+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 |
Run 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 Selected Tests | ⇧+Enter |
Debug Selected Tests | ⌘+D |
Run Current Session (Tool Window) | ⌘+Y |
Rerun Failed Tests (Tool Window) | |
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 |
---|---|
Hide All Tool Windows | ⌘+⇧+F12 |
Jump to Last Tool Window | ⌥+⇧+F6 |
Build | ⌘+0 |
Explorer | ⌘+⌥+L ⌘+1 |
Favorites | ⌘+2 |
Find | ⌘+3 ⌘+⌥+F12 |
Run | ⌘+4 |
Debug | ⌘+5 |
TODO | ⌘+6 |
NuGet | ⌘+7 ⌘+⇧+7 |
Unit Tests | ⌘+8 ⌘+⇧+8 |
Commit | |
Version Control | ⌘+9 |
Terminal | ⌘+⌃+1 |
Errors In Solution | ⌘+⌃+2 |
Database | ⌘+⌃+3 |
Inspection Results | ⌘+⌃+4 ⌘+⌥+V |
Structure | ⌃+⌥+F |
Last modified: 08 May 2020