GoLand 2023.1 Help

Keyboard Shortcuts: macOS Keymap

GoLand's top keyboard shortcuts

Search Everywhere

Double

Find Action...

⌘ ⇧ A

Show Project window

⌘ 1

Rebuild

⌘ ⇧ F9

Show Intention Actions

⌥ ⏎

Recent Files

⌘ E

Find Usages

⌥ F7

Select In...

⌥ F1

Settings...

⌘ Comma

Generate...

⌘ N

Run Anything

Double ^

Debug...

^ ⌥ D

View Breakpoints...

⌘ ⇧ F8

Attach to Process...

⌥ ⇧ F5

VCS Operations Popup...

^ V

Refactor This...

^ T

Reformat Code

⌘ ⌥ L

Build projects

Build Project

⌘ F9

Rebuild

⌘ ⇧ F9

Basic editing

Cut

⌘ X

Copy

⌘ C

Paste

⌘ V

Paste as Plain Text

⌘ ⌥ ⇧ V

Paste from History...

⌘ ⇧ V

Copy Paths

⌘ ⇧ C

Copy Reference

⌘ ⌥ ⇧ C

Save All

⌘ S

Undo

⌘ Z

Redo

⌘ ⇧ Z

Indent Selection

Unindent Line or Selection

⇧ ⇥

Auto-Indent Lines

^ ⌥ I

Start New Line

⇧ ⏎

Start New Line Before Current

⌘ ⌥ ⏎

Delete Line

⌘ ⌫

Join Lines

^ ⇧ J

Duplicate Line or Selection

⌘ D

Toggle Case

⌘ ⇧ U

Scratch File

⌘ ⇧ N

Open Source in New Window

⇧ F4

Caret navigation

Move Caret to Previous Word

⌥ ←

Move Caret to Next Word

⌥ →

Move Caret to Line Start

Home

Move Caret to Line End

End

Move Caret to Matching Brace

^ M

Move Caret to Code Block Start

⌘ ⌥ [

Move Caret to Code Block End

⌘ ⌥ ]

Next Method

^ ⇧ ↓

Previous Method

^ ⇧ Up

Move Caret to Page Top

⌘ Page Up

Move Caret to Page Bottom

⌘ Page ↓

Page Up

Page Up

Page Down

Page ↓

Move Caret to Text Start

⌘ Home

Move Caret to Text End

⌘ End

Select text

Select All

⌘ A

Left with Selection

⇧ ←

Right with Selection

⇧ →

Move Caret to Previous Word with Selection

⌥ ⇧ ←

Move Caret to Next Word with Selection

⌥ ⇧ →

Move Caret to Line Start with Selection

⇧ Home

Move Caret to Line End with Selection

⇧ End

Up with Selection

⇧ Up

Down with Selection

⇧ ↓

Move Caret to Code Block Start with Selection

⌘ ⌥ ⇧ [

Move Caret to Code Block End with Selection

⌘ ⌥ ⇧ ]

Move Caret to Page Top with Selection

⌘ ⇧ Page Up

Move Caret to Page Bottom with Selection

⌘ ⇧ Page ↓

Page Up with Selection

⇧ Page Up

Page Down with Selection

⇧ Page ↓

Move Caret to Text Start with Selection

⌘ ⇧ Home

Move Caret to Text End with Selection

⌘ ⇧ End

Extend Selection

⌥ Up

Shrink Selection

⌥ ↓

Code folding

Expand

⌘ NumPad

Collapse

⌘ NumPad -

Expand Recursively

⌘ ⌥ NumPad

Collapse Recursively

⌘ ⌥ NumPad -

Expand All

⌘ ⇧ NumPad

Collapse All

⌘ ⇧ NumPad -

Fold Selection

⌘ .

Multiple carets and selection ranges

Coding assistance

Show Intention Actions

⌥ ⏎

Basic Completion

^ Space

Type-Matching Completion

^ ⇧ Space

Second Basic Completion

^ ⌥ Space

Complete Current Statement

⌘ ⇧ ⏎

Reformat Code

⌘ ⌥ L

Parameter Info

⌘ P

Quick Documentation

F1

Move Statement Up

⌘ ⇧ Up

Move Statement Down

⌘ ⇧ ↓

Move Element Left

⌘ ⌥ ⇧ ←

Move Statement Right

⌘ ⌥ ⇧ →

Move Line Up

⌥ ⇧ Up

Move Line Down

⌥ ⇧ ↓

Comment with Line Comment

⌘ /

Comment with Block Comment

⌘ ⌥ /

Surround With...

⌘ ⌥ T

Generate...

⌘ N

Context navigation

Find everything

Code analysis

Run and debug

Refactorings

Refactor This...

^ T

Rename...

⇧ F6

Change Signature...

⌘ F6

Inline...

⌘ ⌥ N

Move...

F6

Extract Method...

⌘ ⌥ M

Introduce Field...

⌘ ⌥ F

Introduce Parameter...

⌘ ⌥ P

Introduce Variable...

⌘ ⌥ V

Safe Delete...

⌘ ⌦

Global VCS actions

Differences viewer

Tool windows

Last modified: 11 January 2023