Skip to content
GoLand icon

GoLand shortcuts for Mac

129 shortcuts · 10 categories

GoLand is an integrated development environment (IDE) for the Go programming language that offers features such as code completion, refactoring, and debugging support. Download GoLand

Hover a shortcut to add it to Pie Menu

Mac keyboard shortcuts for GoLand

VCS / Local History

  • VCS quick popup⌃ (control) + v Add →
  • Push commits⇧ (shift) + ⌘ (command) + k Add →
  • Update project from VCS⌘ (command) + t Add →
  • Commit project to VCS⌘ (command) + k Add →

Compile and Run

  • Run context configuration from editor⌃ (control) + ⇧ (shift) + r Add →
  • Debug⌃ (control) + d Add →
  • Run⌃ (control) + r Add →
  • Select configuration and debug⌃ (control) + ⌥ (option) + d Add →
  • Select configuration and run⌃ (control) + ⌥ (option) + r Add →

Navigation

  • Show usages⌥ (option) + ⌘ (command) + f7 Add →
  • Highlight usages in file⇧ (shift) + ⌘ (command) + f7 Add →
  • Find usages in file⌘ (command) + f7 Add →
  • Find usages⌥ (option) + f7 Add →
  • Show bookmarks⌘ (command) + f3 Add →
  • Go to numbered bookmark 0/1/2⌃ (control) + 0 Add →
  • Toggle bookmark with mnemonic⌥ (option) + f3 Add →
  • Toggle bookmarkf3 Add →
  • Show navigation bar⌥ (option) + home Add →
  • Edit source / View sourcef4 Add →
  • Previous highlighted error⇧ (shift) + f2 Add →
  • Next highlighted errorf2 Add →
  • File structure popup⌘ (command) + f12 Add →
  • Move to code block end⌘ (command) + [ Add →
  • Move to code block start⌘ (command) + ] Add →
  • Go to previous / next declaration⌃ (control) + ↑ Add →
  • Go to super-method or super-type⌘ (command) + u Add →
  • Go to type declaration⌃ (control) + ⇧ (shift) + b Add →
  • Open quick definition lookup⌥ (option) + space Add →
  • Go to implementation⌥ (option) + ⌘ (command) + b Add →
  • Go to declaration⌘ (command) + b Add →
  • Select current file or symbol in any view⌥ (option) + f1 Add →
  • Navigate to last edit location⇧ (shift) + ⌘ (command) + ⌫ Add →
  • Navigate forward⌥ (option) + ⌘ (command) + → Add →
  • Navigate back⌥ (option) + ⌘ (command) + ← Add →
  • Go to line⌘ (command) + l Add →
  • Hide active or last active window⇧ (shift) + esc Add →
  • Go to editor (from tool window)esc Add →
  • Go back to previous tool windowf12 Add →
  • Go to next / previous editor tab⌃ (control) + → Add →
  • Go to symbol⌥ (option) + ⌘ (command) + o Add →
  • Go to file⇧ (shift) + ⌘ (command) + o Add →
  • Go to class⌘ (command) + o Add →

Refactoring

Editing

  • Insert live template⌘ (command) + j Add →
  • Surround with live template⌥ (option) + ⌘ (command) + j Add →
  • Close active editor tab⌘ (command) + w Add →
  • Collapse all⇧ (shift) + ⌘ (command) + - Add →
  • Expand all⇧ (shift) + ⌘ (command) + + Add →
  • Collapse code block⌘ (command) + - Add →
  • Expand code block⌘ (command) + + Add →
  • Delete to word start⌥ (option) + ⌫ Add →
  • Delete to word end⌥ (option) + ⌫ Add →
  • Select till code block end⇧ (shift) + ⌘ (command) + ] Add →
  • Select till code block start⇧ (shift) + ⌘ (command) + [ Add →
  • Toggle case⇧ (shift) + ⌘ (command) + u Add →
  • Start new line⇧ (shift) + ↵ Add →
  • Smart line split⌘ (command) + ↵ Add →
  • Smart line join⌃ (control) + ⇧ (shift) + j Add →
  • Delete line at caret⌘ (command) + ⌫ Add →
  • Duplicate current line⌘ (command) + d Add →
  • Paste from recent buffers...⇧ (shift) + ⌘ (command) + v Add →
  • Paste from clipboard⌘ (command) + v Add →
  • Copy current line to clipboard⌘ (command) + c Add →
  • Cut current line to clipboard⌘ (command) + x Add →
  • Indent / unindent selected lines⇥ Add →
  • Auto-indent line⌃ (control) + ⌥ (option) + i Add →
  • Optimize imports⌃ (control) + ⌥ (option) + o Add →
  • Reformat code⌥ (option) + ⌘ (command) + l Add →
  • Context info⌃ (control) + ⇧ (shift) + q Add →
  • Comment with block comment⌥ (option) + ⌘ (command) + / Add →
  • Comment with line comment⌘ (command) + / Add →
  • Surround with …⌥ (option) + ⌘ (command) + t Add →
  • Implement methods⌃ (control) + i Add →
  • Override methods⌃ (control) + o Add →
  • Show descriptions of error at caret⌘ (command) + f1 Add →
  • Brief info⌘ (command) + mouse Add →
  • External doc⇧ (shift) + f1 Add →
  • Quick documentation lookup⌃ (control) + j Add →
  • Complete statement⇧ (shift) + ⌘ (command) + ↵ Add →

Debugging

  • View breakpoints⇧ (shift) + ⌘ (command) + f8 Add →
  • Toggle breakpoint⌘ (command) + f8 Add →
  • Resume program⌥ (option) + ⌘ (command) + r Add →
  • Evaluate expression⌥ (option) + f8 Add →
  • Run to cursor⌥ (option) + f9 Add →
  • Step out⇧ (shift) + f8 Add →
  • Step overf8 Add →
  • Smart step into⇧ (shift) + f7 Add →
  • Step intof7 Add →

Search / Replace

  • Unselect occurrence⌃ (control) + g Add →
  • Select all occurrences⌃ (control) + ⌘ (command) + g Add →
  • Select next occurrence⌃ (control) + g Add →
  • Replace in path⇧ (shift) + ⌘ (command) + r Add →
  • Find in path⇧ (shift) + ⌘ (command) + f Add →
  • Find previous⇧ (shift) + ⌘ (command) + g Add →
  • Find next⌘ (command) + g Add →
  • Replace⌘ (command) + r Add →
  • Find⌘ (command) + f Add →

Show Tool Windows

  • Show Terminal window⌥ (option) + f12 Add →
  • Show Commit window⌘ (command) + 0 Add →
  • Show Version Control window⌘ (command) + 9 Add →
  • Show Services window⌘ (command) + 8 Add →
  • Show Structure window⌘ (command) + 7 Add →
  • Show Problems window⌘ (command) + 6 Add →
  • Show Debug window⌘ (command) + 5 Add →
  • Show Run window⌘ (command) + 4 Add →
  • Show Find window⌘ (command) + 3 Add →
  • Show Favorites window⌘ (command) + 2 Add →
  • Show Project window⌘ (command) + 1 Add →

General

  • Open settings dialog⌘ (command) + , Add →
  • Quick switch current scheme⌃ (control) + § Add →
  • Inspect current file⌥ (option) + ⇧ (shift) + i Add →
  • Toggle maximizing editor⇧ (shift) + ⌘ (command) + f12 Add →
  • Synchronize⌥ (option) + ⌘ (command) + y Add →
  • Save all⌘ (command) + s Add →

Important

  • Search everywhereshift  shift Add →
  • Rename⇧ (shift) + f6 Add →
  • Recent files popup⌘ (command) + e Add →
  • Extend selection⌥ (option) + ↑ Add →
  • Shrink selection⌥ (option) + ↓ Add →
  • Parameter info⌘ (command) + p Add →
  • Generate code⌘ (command) + n Add →
  • Show intentions and quick-fixes⌘ (command) + ↵ Add →
  • Smart code completion⌃ (control) + ⇧ (shift) + space Add →
  • Basic code completion⌃ (control) + space Add →
  • Find action⇧ (shift) + ⌘ (command) + a Add →

Download Keyboard Cheat Sheet for GoLand for Mac

Do you want all keyboard shortcuts for GoLand in one pdf?

Cheat sheet

Community shortcuts for GoLand

Be the first to share — open Pie Menu → GoLand → Share Config

View community page →
Pie Menu

Get started with Pie Menu today.

The convenience of shortcuts without the memorization!