IDE/tools that support the new Go module feature in 1.11?

327 views
Skip to first unread message

nvcnvn

unread,
Aug 25, 2018, 4:45:11 AM8/25/18
to golang-nuts
Hi all,
Do you know any IDE already support intellisense for a project using "pure" Go module (without /vendor, $GOPATH)

Aldrin Leal

unread,
Aug 25, 2018, 5:45:13 AM8/25/18
to nvcnvn, golang-nuts
On Sat, Aug 25, 2018 at 3:45 AM, nvcnvn <nvc...@gmail.com> wrote:
Hi all,
Do you know any IDE already support intellisense for a project using "pure" Go module (without /vendor, $GOPATH)

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diego Bernardes

unread,
Aug 25, 2018, 6:21:57 AM8/25/18
to golang-nuts
gometalinter and gotests are breaking for me. They were installed from vscode-go.

Sameer Ajmani

unread,
Aug 25, 2018, 8:28:28 AM8/25/18
to Diego Bernardes, Alan Donovan, Ian Cottrell, Michael Matloob, Rebecca Stambler, golang-nuts
+Ian C, Alan, Rebecca, Michael On the Go team are working with tool owners to migrate tools to the new go/packages API, which adds module support and compatibility with older workspaces.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.

Alex Rice

unread,
Aug 25, 2018, 4:19:30 PM8/25/18
to golang-nuts


On Saturday, August 25, 2018 at 3:45:13 AM UTC-6, Aldrin Leal wrote:


Isn't "vgo"  the older (pre- go 1.11) variant? 

I was just trying out GoLand with Go 1.11 and ran into some trouble getting it to use "go mod" files, even though support is mentioned in the release notes:

https://blog.jetbrains.com/go/2018/08/24/goland-2018-2-2-is-here/

Curious if anyone else is having success.

Alex Rice

unread,
Aug 25, 2018, 4:29:51 PM8/25/18
to golang-nuts

On Saturday, August 25, 2018 at 2:19:30 PM UTC-6, Alex Rice wrote:
 

Oh, I see- in GoLand the New Project dialog has 3 choices: Go, Go Module (vgo), or Dep.

I was trying to use an existing Project.

 

Florin Pățan

unread,
Aug 26, 2018, 2:01:06 AM8/26/18
to golang-nuts
You can use an existing project but you have to enable the "Go modules support" manually. The IDE should detect it's a Go modules supporting project and ask you to enable it using a tooltip.

GoLand 2018.2.2 is recommended for Go Modules support as older versions target older releases of Go Modules (or even when it was called vgo).

Reply all
Reply to author
Forward
0 new messages