Skip to main content

GoLand shortcuts

Your answer helps keep this page right.

Do these shortcuts work for you?

GoLand’s list is long. Besides navigation, editing, debugging and refactoring, it has short sections for one feature each. Code Folding collapses and expands blocks of code. Bookmarks marks places in the code. Search (Find & Replace) includes the usage searches, such as Find Usages and Show Usages.

SetappAd
A shortcut to the best Mac apps

An essential toolbox for macOS and iOS.

Start with these

  • Find Action
  • Navigate To Declaration
  • Find Usages
  • Context Actions
  • Run
  • Rename

Tips for GoLand

  • Navigate To Test ⇧⌘T goes from the code to its test.
  • Smart Step Into ⇧F7 is Step Into F7 with one modifier added.
  • Toggle Bookmark F3 marks the current line and Show Bookmarks ⌘F3 lists the marks.
Jump to section

Advanced Editing32

ActionShortcut
Code Completion
Smart Type Completion
Context Actions
Complete Statement
Quick Documentation
Error Description
External Documentation
Parameter Info
Context Info
Override Methods
Surround With
Insert Live Template
Surround With Live Template
Expand Word
Duplicate Line
Delete Line
Move Statement Up
Move Statement Down
Line Comment
Block Comment
Extend Selection
Shrink Selection
Reformat Code
Generate
Paste From History
Toggle Case
Start New Line
Start New Line Before
Join Lines
Auto Indent
Move To Code Block Start
Move To Code Block End

Code Folding5

ActionShortcut
Expand
Collapse
Expand All
Collapse All
Fold Selection

Search (Find & Replace)11

ActionShortcut
Find
Replace
Find Next
Find Previous
Find In Path
Replace In Path
Find Usages
Find Usages In File
Highlight Usages In File
Show Usages
Find Usages of Current Method

Running and Debugging19

ActionShortcut
Run
Choose Run Config
Rerun
Debug
Choose Debug Config
Build Project
Show Execution Point
Step Over
Step Into
Smart Step Into
Step Out
Force Step Into
Run To Cursor
Force Run To Cursor
Resume Program
Evaluate Expression
Quick Evaluate Expression
Toggle Breakpoint
View Breakpoints

Refactoring10

ActionShortcut
Refactor This
Rename
Change Signature
Move
Extract Method
Extract Variable
Extract Constant
Extract Field
Introduce Parameter
Inline

Bookmarks3

ActionShortcut
Toggle Bookmark
Toggle Bookmark Mnemonic
Show Bookmarks

General9

ActionShortcut
Terminal
Commit
VCS Operations
Settings
Close Editor
Save All
Select Next Tab
Select Previous Tab
Reload All From Disk
Report a problem

GitHub is public. Email is private.

Frequently Asked Questions

How many keyboard shortcuts does GoLand have on macOS?

GoLand has 114 keyboard shortcuts on macOS, organized into 8 sections: Navigation In Source Code, Advanced Editing, Code Folding, Search (Find & Replace), and more. This page lists all of them with searchable, organized shortcut tables.

Which GoLand shortcuts should I learn first?

Start with Find Action (⇧⌘A), Navigate To Declaration (⌘B), Find Usages (⌥F7), Context Actions (⌥↩), Run (⌃R), Rename (⇧F6). The sections on this page list the rest.

Can I download GoLand shortcuts as a PDF?

Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 114 GoLand shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.

Where is the official GoLand keyboard shortcuts documentation?

The official GoLand keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.

Do these GoLand shortcuts work on all Mac keyboards?

Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.

Maintained by

Access GoLand shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.