I'm trying to write some basic Go file and I don't have any code completion / intellisense when working only with go files.
Otherwise, when trying to write JS code for example it works great:
Any thoughts?
CodePudding user response:
You have to set some settings like GOPATH and GOROOT in your IDE. This is a setup process screenshot of an IDE setting.
CodePudding user response:
Navigate to Preferences | Editor | File Types, find Text or File type auto-detected by context and remove main.go
from the file name patterns list.