======================================== GoLand 2022.3 (macOS) keyboard shortcuts ======================================== First published at 11/16/2022 on https://defkey.com/goland-2022-3-macos-shortcuts GoLand is an integrated development environment (IDE) for the Go programming language. It can analyze the code for automatic code completion and provide quick code fixes. GoLand is developed by JetBrains. GoLand 2022.3 (macOS) has 126 shortcuts and we have listed all of them below. General ------- Shift + Cmd + A Find any action inside the IDE Create and edit --------------- Option + Enter Show intention actions Control + Space Basic/smart code completion Control + Shift + Space Basic/smart code completion Control + Option + Space Type name completion Shift + Cmd + Enter Complete statement Cmd + P Parameter information Option + Space Quick definition F1 Quick/external documentation Shift + F1 Quick/external documentation Cmd + N Generate code Control + I Implement methods Option + Cmd + T Surround with... Cmd + / Comment with line/block comment Option + Cmd + / Comment with line/block comment Option + Up arrow / Down arrow Extend/shrink selection Control + Shift + Q Context info Control + Option + O Optimize imports Control + Option + I Auto-indent lines Cmd + X Cut Cmd + C Copy Cmd + V Paste Shift + Cmd + C Copy document path Shift + Cmd + V Paste from clipboard history Cmd + D Duplicate current line or selection Shift + Cmd + Up arrow / Down arrow Move line up/ down Cmd + Backspace Delete line at caret Control + Shift + J Join/split line Cmd + Enter Join/split line Shift + Enter Start new line Shift + Cmd + U Toggle case Cmd + + Expand code block Cmd + - Collapse code block Shift + Cmd + + Expand all Shift + Cmd + - Collapse all Cmd + S Save all Version control --------------- Control + V VCS operations popup... Cmd + K Commit Cmd + T Update project Option + Shift + C Recent changes Option + Cmd + Z Revert Shift + Cmd + K Push... Control + Option + Shift + Up arrow / Down arrow Next/previous change Master your IDE --------------- Shift + Cmd + A Find action... Cmd + [1 - 9] Open a tool window Option + Cmd + Y Synchronize Control + Cmd + F Toggle full screen mode Control + ` Quick switch scheme... Cmd + , Preferences... Cmd + Up arrow / Down arrow Jump to source/navigation bar F12 Jump to last tool window Shift + Esc Hide active windows Shift + Cmd + Esc Hide all tool windows Shift + Cmd + ] Go to next editor tab Shift + Cmd + [ Go to previous editor tab Esc Go to editor (from a tool window) Control + Shift + F4 Close active window Cmd + W Close active tab Find everything --------------- Shift then Shift Search everywhere Cmd + F Search Cmd + R Replace Shift + Cmd + F Find in path Shift + Cmd + R Replace in path Cmd + G Next occurrence Shift + Cmd + G Previous occurrence Cmd + O Go to type Shift + Cmd + O Go to file Option + Cmd + O Go to symbol Option + F12 Go to file member Navigate from symbols --------------------- Cmd + B Declaration Shift + Cmd + B Type declaration Cmd + U Super method Option + Cmd + B Implementation(s) Option + F7 Find usages Cmd + F7 Find usages in file Shift + Cmd + F7 Highlight usages in file Option + Cmd + F7 Show usages Refactor and cleanup -------------------- Control + T Refactor this... F5 Copy… F6 Move... Cmd + Del Safe delete... Shift + F6 Rename... Cmd + F6 Change signature... Option + Cmd + N Inline... Option + Cmd + M Extract method Option + Cmd + V Introduce variable Option + Cmd + C Introduce constant Option + Cmd + L Reformat code Analyze and explore ------------------- Cmd + F1 Show error description F2 Next highlighted error Shift + F2 Previous highlighted error Option + Shift + Cmd + I Run inspection by name… Navigate in context ------------------- Option + F1 Select in... Cmd + E Recently viewed files Shift + Cmd + E Recently changed files Shift + Cmd + Backspace Last edit location Cmd + [ Navigate back Cmd + ] Navigate forward Control + Up arrow / Down arrow Go to previous/next method Cmd + L Line/ Column... Option + Cmd + ] Go to code block end Option + Cmd + [ Go to code block start Option + Shift + F Add to favorites F3 Toggle bookmark Option + F3 Toggle bookmark with mnemonic Control + [0 - 9] Go to numbered bookmark Cmd + F3 Show bookmarks Build, run and debug -------------------- Control + Shift + R Run context configuration Control + Option + R Run selected configuration Control + Option + D Debug selected configuration Control + R Run current configuration Control + D Debug current configuration F8 Step over F7 Step into Shift + F7 Smart step into Shift + F8 Step out Option + F9 Run to cursor Option + Cmd + F9 Force run to cursor Option + F10 Show execution point Option + F8 Evaluate expression... Cmd + F2 Stop Shift + Cmd + F2 Stop background processes... Option + Cmd + R Resume program Cmd + F8 Toggle line breakpoint Option + Shift + Cmd + F8 Place temporary line breakpoint Shift + Cmd + F8 Edit/view breakpoint Source: GoLand reference card (PDF) Last modified on (UTC): Wednesday, November 16, 2022 Defkey © All rights reserved.