Grant Birchmeier
Grant Birchmeier

Reputation: 18484

In VS Code (Go extension), where do I run commands?

From here: https://github.com/Microsoft/vscode-go/wiki/GOPATH-in-the-VS-Code-Go-extension

At any point in time, you can run the command Go: Current GOPATH to see the GOPATH being used by the extension.

But... WHERE do I type that command?

Is there a specific command pane I need to open or something?

(I'm on the Mac client, if that's relevant.)

Upvotes: 0

Views: 1143

Answers (2)

marco.m
marco.m

Reputation: 4849

Press Shift Command P, that is the command palette.

From there, type that command.

But, GOPATH is a lot less important with recent Go versions that support Go modules.

Upvotes: 2

Brady Cole
Brady Cole

Reputation: 1

Honestly, there are some limited commands with the extension cmd+shift+p but if you want the full range of commands just open the terminal and run what you need.

If you are looking for custom tasks like building in a certain way them up can create them in vscode. https://code.visualstudio.com/docs/editor/tasks

Upvotes: 0

Related Questions