Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Gogland (perhaps also others) configuration example #724

Open
vromero opened this issue Jun 15, 2017 · 1 comment
Open

Gogland (perhaps also others) configuration example #724

vromero opened this issue Jun 15, 2017 · 1 comment

Comments

@vromero
Copy link

vromero commented Jun 15, 2017

User could find useful a quick and small guide to configure the most relevant ides.

I understand, native support is expected at some point at the IDE side, but I'm talking about the very basics to be able to edit with code validation and autocomplete.

@gandalfSievers
Copy link

Just use the standard Go(g)land build tools. In Preferences > GO > GOPATH, remove any entry in Global GOPATH. Add two entries in Project GOPATH, one for for your projects main folder and one for the vendor folder.
e.g.:

/User/me/projects/myproject
/User/me/projects/myproject/vendor

Then just add a new Go Build configuration under Run/Debug Configurations with the default settings and select your projects main file in the file section.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants