-
Notifications
You must be signed in to change notification settings - Fork 657
Open
Labels
Description
It would be nice to get completions for OS-specific modules instead of getting nothing. I've already accomplished this in: deoplete-plugins/deoplete-go#73, but I agree with @nhooyr that this should be a feature in gocode.
Files such as thing_freebsd.go
and thing_windows.go
are obvious. Files with // +build
constraints are a little more difficult, but I think that if the build constraint is // +build windows freebsd
it should be safe enough to go with the first OS within the context of that module.
If you don't have time to look into this, could you point me to the part of the source that would need to be changed for this? I tried looking, but I'm not sure where to start.
nhooyr, stardiviner and chappjc