Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save desmondfernando/2e8c3f827b9e73ee09bbbcddc6544dbe to your computer and use it in GitHub Desktop.

Select an option

Save desmondfernando/2e8c3f827b9e73ee09bbbcddc6544dbe to your computer and use it in GitHub Desktop.

Rider Keyboard Shortcuts Cheatsheet

Keymap: Visual Studio (macOS) copy IDE: JetBrains Rider (macOS)

Modifier legend: = Command, = Option/Alt, = Control, = Shift, = Return/Enter, = Delete/Backspace, = Escape, = Tab


Editing

Shortcut Action
⌘ X / ⌘ C / ⌘ V Cut / Copy / Paste
⇧ ⌘ V Paste from history
⌘ Z / ⇧ ⌘ Z Undo / Redo
⌘ A Select all
⌃ W Extend selection
⌃ ⇧ W Shrink selection
⌘ D Duplicate line / selection
⌘ ⌫ Delete line
⌥ ↑ / ⌥ ↓ Move line up / down
⌘ ⇧ ↑ / ⌘ ⇧ ↓ Move statement up / down
⌃ Space Basic code completion
⌃ ⇧ Space Smart completion
⌘ P Parameter info
⌃ J Quick documentation
⌘ / Comment / uncomment line
⌘ ⇧ / Block comment
⌘ K, ⌘ D Reformat code
⌃ ⌥ O Optimize imports
/ ⇧ ⇥ Indent / unindent selection
⌃ . Show context actions (quick fix)
⌃ ⌥ L Reformat code (alt)
⌘ ↩ Complete current statement

Navigation

Shortcut Action
⇧ ⌘ T Go to type / class
⌘ , Go to file
⌘ T Go to symbol
⌃ - Navigate back
⌃ ⇧ - Navigate forward
⌘ L Go to line
F12 Go to declaration / definition
⌃ F12 Go to implementation
⌥ F12 Peek definition
⇧ F12 Find usages
⌘ F12 Go to file member
⌘ E Recent files
⌘ ⇧ E Recently edited files
⌃ G Go to next method
⌃ ⇧ G Go to previous method
⌘ ] / ⌘ [ Move caret to matching brace
⌘ B Toggle bookmark
⌘ K, ⌘ W Show bookmarks
⌘ 1 Solution Explorer
⌘ 7 Structure tool window

Search

Shortcut Action
⌘ F Find in file
⌘ G / ⌘ ⇧ G Find next / previous
⌘ H Replace in file
⇧ ⌘ F Find in path
⇧ ⌘ H Replace in path
⇧ ⌘ A Find action / Search everywhere
⌃ ⇧ F12 Find usages (advanced)

Refactoring

Shortcut Action
F2 Rename
⌃ R, ⌃ M Extract method
⌃ R, ⌃ V Introduce variable
⌃ R, ⌃ F Introduce field
⌃ R, ⌃ C Introduce constant
⌃ R, ⌃ P Introduce parameter
⌃ R, ⌃ I Inline
⌃ R, ⌃ O Move
⌃ R, ⌃ S Change signature
⌃ R, ⌃ R Rename (alt)
⌃ . Refactor this / quick actions

Build & Run

Shortcut Action
⌘ B (or ⇧ ⌘ B) Build solution
⌃ F5 Run without debugging
F5 Start debugging
⇧ F5 Stop
⌘ ⇧ F5 Restart
F6 Step over
F11 Step into
⇧ F11 Step out
⌃ F10 Run to cursor
F9 Toggle breakpoint
⌃ F9 Enable/disable breakpoint
⌥ ⌘ B View breakpoints
⌥ F9 Set next statement

Debugging

Shortcut Action
⇧ F9 Quick watch / evaluate expression
⌃ ⌥ Q Add to watches
⌃ ⌥ F9 Run to cursor
⌘ ⌥ ↑ / ⌘ ⌥ ↓ Previous / next frame

Code Generation

Shortcut Action
⌘ N Generate (constructor, properties, equality members, etc.)
⌃ ⌥ ↩ Generate code (alt)
⌘ I Implement members
⌃ ⌥ O Override members
⌃ ⌥ J Surround with…
⌘ ⌥ T Surround with… (alt)
⌃ J Live template / insert template
⌘ ⌥ J Insert surround live template

Tool Windows

Shortcut Action
⌘ 1 Solution Explorer
⌘ 2 Bookmarks
⌘ 3 Find tool window
⌘ 4 Run
⌘ 5 Debug
⌘ 6 Problems
⌘ 7 Structure
⌘ 9 Git / Version Control
⌘ 0 Unity (Unity tool window)
Move focus back to editor
⇧ ⎋ Hide active tool window
⌘ ⇧ F12 Hide all tool windows

Version Control (Git)

Shortcut Action
⌃ ⌥ A Add to VCS
⌘ K Commit
⇧ ⌘ K Push
⇧ ⌘ T (VCS) Update project / pull
⌃ ⌥ Z Rollback / revert
⌥ ⇧ ⌘ ↓ / Next / previous change
⌘ 9 Open Git tool window

Window & Tab Management

Shortcut Action
⌘ W Close active tab
⌃ ⇥ Switcher (next tab)
⌃ ⇧ ⇥ Switcher (previous tab)
⌘ ⇧ ↩ Maximize editor (toggle)
⌘ ⌥ ← / ⌘ ⌥ → Navigate back / forward

Unity-Specific (Rider Unity Plugin)

Shortcut Action
⌘ 0 Open Unity tool window
⌃ ⌥ U Refresh assets in Unity
⌃ ⌥ P Play / pause in Unity

Tips

  • Find Action / Search Everywhere (⇧ ⌘ A) is the fastest way to look up any command and its shortcut.
  • Customize a shortcut: Rider → Settings → Keymap, then right-click an action → Add Keyboard Shortcut.
  • If a shortcut conflicts with macOS (e.g. Mission Control, Spotlight), disable it in System Settings → Keyboard → Keyboard Shortcuts.
  • Use Help → Keymap Reference for a printable PDF of the active keymap.

Note: The "Visual Studio (macOS) copy" keymap mirrors VS for Mac defaults. Some shortcuts may differ slightly from your version of Rider — verify in Settings → Keymap if a binding doesn't match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment