Is there a Shortcut to build in Go?
In Goland 2017.3.2, I have found in the project pain there is a menu hierarchy that I can use to get to the "go build" menu item. In the default installation, right click on the project, Select "Run", and three sub-menu items come up: "go build", "go test", and "go bench." I haven't been successful so far finding out where I can set those up as shortcuts, or even within the menu structure how to change them.
I have gone to Settings, Menus and Toolbars, "Project View Popup Menu"... "Project View Popup Menu Run Group".. "Run Configuration" .."Run ContextGroup"..."RunContextGroupInner"..."Run context configuration", but unfortunately it's not clear to me how the items are defined, how to change them, or if they can be shortcutted.
Please sign in to leave a comment.
After you select one of them, a new Run Configuration is created, which can be actioned via the shortcut available in the Run menu (first entry for run, second for debug).
You can configure these shortcuts via Settings | Keymap. For further details, please see: https://www.jetbrains.com/help/go/discover-goland.html#RunningDebugging or feel free to reply here / open an issue on the tracker.