Go Mod Tidy menu item missing

Answered

The context menu for go.mod is missing Go Mod Tidy. I only have this problem on one of my projects but I'm not sure what is different about this project.

0
3 comments
Official comment

Please, make sure that Go modules integration is enabled under Preferences/Settings | Go | Go Modules and Index entire GOPATH is disabled under Preferences/Settings | Go | GOPATH.

I see that my external libraries includes  includes GOPATH. How can I remove that and get the project to use modules?

0

Problem solved, thank you.

0

Please sign in to leave a comment.