joefitzgerald / autocomplete-go

An Atom autocomplete-plus provider for the Go language that uses gocode to provide suggestions.
Other
29 stars 3 forks source link

Close gocode Daemon When Package Is Deactivated #44

Open IngCr3at1on opened 8 years ago

IngCr3at1on commented 8 years ago

Per discussion on slack:

Add hook to shutdown gocode daemon and update it if package is deactivated.

Should solve issues with autocomplete failing after Go updates.

joefitzgerald commented 8 years ago

The update portion is orthogonal, but will be achieved via some hooks in the go-get package. I don't think we want to prompt people to upgrade gocode every time the package is deactivated (i.e. every time you close a window).