DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

GoImports invocation ignores dependencies in a vendor/ folder #940

Open gz-c opened 5 years ago

gz-c commented 5 years ago

GoImports on save will not add imports that are in vendor/ but not in $GOPATH. Running goimports from the terminal does not have this problem.

DisposaBoy commented 5 years ago

I assume this is the same issue as https://github.com/DisposaBoy/GoSublime/issues/939. If not, you'll need to tell me how you call goimports since I don't use it.