This page is a complete keyboard shortcut reference for GoLand on macOS, covering all 114 shortcuts organized into 8 sections. Whether you’re new to GoLand or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.
Keyboard shortcuts are the fastest way to work in GoLand. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.
Using keyboard shortcuts in GoLand reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On macOS, most GoLand shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.
Tips for Learning Shortcuts
- Practice one new GoLand shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
- Print or bookmark this page for quick reference while working in GoLand. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
- Start with the shortcuts you use most. In GoLand, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.
Advanced Editing32
| Action | Shortcut |
|---|---|
| Code Completion | ⌃Space |
| Smart Type Completion | ⌃⇧Space |
| Context Actions | ⌥↩ |
| Complete Statement | ⇧⌘↩ |
| Quick Documentation | F1 |
| Error Description | ⌘F1 |
| External Documentation | ⇧F1 |
| Parameter Info | ⌘P |
| Context Info | ⌃⇧Q |
| Override Methods | ⌃O |
| Surround With | ⌥⌘T |
| Insert Live Template | ⌘J |
| Surround With Live Template | ⌥⌘J |
| Expand Word | ⌥/ |
| Duplicate Line | ⌘D |
| Delete Line | ⌘Delete |
| Move Statement Up | ⇧⌘↑ |
| Move Statement Down | ⇧⌘↓ |
| Line Comment | ⌘/ |
| Block Comment | ⌥⌘/ |
| Extend Selection | ⌥↑ |
| Shrink Selection | ⌥↓ |
| Reformat Code | ⌥⌘L |
| Generate | ⌘N |
| Paste From History | ⇧⌘V |
| Toggle Case | ⇧⌘U |
| Start New Line | ⇧↩ |
| Start New Line Before | ⌥⌘↩ |
| Join Lines | ⌃⇧J |
| Auto Indent | ⌃⌥I |
| Move To Code Block Start | ⌥⌘[ |
| Move To Code Block End | ⌥⌘] |
Code Folding5
| Action | Shortcut |
|---|---|
| Expand | ⌘Num+ |
| Collapse | ⌘Num- |
| Expand All | ⇧⌘Num+ |
| Collapse All | ⇧⌘Num- |
| Fold Selection | ⌘. |
Search (Find & Replace)11
| Action | Shortcut |
|---|---|
| Find | ⌘F |
| Replace | ⌘R |
| Find Next | ⌘G |
| Find Previous | ⇧⌘G |
| Find In Path | ⇧⌘F |
| Replace In Path | ⇧⌘R |
| Find Usages | ⌥F7 |
| Find Usages In File | ⌘F7 |
| Highlight Usages In File | ⇧⌘F7 |
| Show Usages | ⌥⌘F7 |
| Find Usages of Current Method | ⌥⇧⌘F7 |
Running and Debugging19
| Action | Shortcut |
|---|---|
| Run | ⌃R |
| Choose Run Config | ⌃⌥R |
| Rerun | ⌘R |
| Debug | ⌃D |
| Choose Debug Config | ⌃⌥D |
| Build Project | ⌘F9 |
| Show Execution Point | ⌥F10 |
| Step Over | F8 |
| Step Into | F7 |
| Smart Step Into | ⇧F7 |
| Step Out | ⇧F8 |
| Force Step Into | ⌥⇧F7 |
| Run To Cursor | ⌥F9 |
| Force Run To Cursor | ⌥⌘F9 |
| Resume Program | ⌥⌘R |
| Evaluate Expression | ⌥F8 |
| Quick Evaluate Expression | ⌥⌘F8 |
| Toggle Breakpoint | ⌘F8 |
| View Breakpoints | ⇧⌘F8 |
Refactoring10
| Action | Shortcut |
|---|---|
| Refactor This | ⌃T |
| Rename | ⇧F6 |
| Change Signature | ⌘F6 |
| Move | F6 |
| Extract Method | ⌥⌘M |
| Extract Variable | ⌥⌘V |
| Extract Constant | ⌥⌘C |
| Extract Field | ⌥⌘F |
| Introduce Parameter | ⌥⌘P |
| Inline | ⌥⌘N |
Bookmarks3
| Action | Shortcut |
|---|---|
| Toggle Bookmark | F3 |
| Toggle Bookmark Mnemonic | ⌥F3 |
| Show Bookmarks | ⌘F3 |
General9
| Action | Shortcut |
|---|---|
| Terminal | ⌥F12 |
| Commit | ⌘K |
| VCS Operations | ⌃V |
| Settings | ⌘, |
| Close Editor | ⌘W |
| Save All | ⌘S |
| Select Next Tab | ⇧⌘] |
| Select Previous Tab | ⇧⌘[ |
| Reload All From Disk | ⌥⌘Y |
Frequently Asked Questions
Access GoLand shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.