Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocode: switch to https://github.com/mdempsky/gocode #1851

Merged
merged 1 commit into from
Jun 7, 2018
Merged

Conversation

fatih
Copy link
Owner

@fatih fatih commented Jun 5, 2018

nsf/gocode is not working well with Go 1.10. I just encountered it myself again. The author of original gocode also states and recommends the mdempsky/gocode fork over nsf/gocode: https://github.com/nsf/gocode#an-autocompletion-daemon-for-the-go-programming-language

We actually moved once, but because we didn't removed the obsolote settings, we weren't prepared for issues that were reported, and hence reverted it back

This PR also removes all settings. The reason is that the new gocode doesn't support settings anymore. The author decided not the support it.

  • For autobuild, this was removed because the author believe it's not
    worth tackling it inside gocode: auto install doesn't always work mdempsky/gocode#13
  • For propose builtins, this is actually still supported but disabled in
    the source code, we need to add it back again in the future:
    mdempsky/gocode@787cfae
  • For unimported packages: this was just removed and I couldn't find
    upcoming plans for it

Going forward this package seems to be more stable and is a better bet. Most important, as I stated nfs/gocode is not 1.10 compatible and the author has no intentions to fix it.

nsf/gocode is not working well with Go 1.10. I just encountered it
myself again. The author of original gocode also states and recommends
the mdempsky/gocode fork over nsf/gocode:
https://github.com/nsf/gocode#an-autocompletion-daemon-for-the-go-programming-language

We actually [moved once](#1814), but
because we didn't removed the obsolote settings, we weren't prepared for
issues that were
[reported](#1817), and hence
[reverted it back](#1823)

This PR also removes all settings. The reason is that the new gocode
doesn't support settings anymore. The author decided not the support it.

* For `autobuild`, this was removed because the author believe it's not
worth tackling it inside `gocode`: mdempsky/gocode#13
* For `propose builtins`, this is actually still supported but disabled in
the source code, we need to add it back again in the future:
mdempsky/gocode@787cfae
* For `unimported packages`: this was just removed and I couldn't find
upcoming plans for it

Going forward this package seems to be more stable and is a better bet.
Most important, as I stated nfs/gocode is not 1.10 compatible and the
author has no intentions to fix it.
@bhcleek
Copy link
Collaborator

bhcleek commented Jun 7, 2018

lgtm

@bhcleek
Copy link
Collaborator

bhcleek commented Jun 7, 2018

I tested this poorly before merging and subsequently found problems. The merge has been reverted, and a new PR is open with these same changes at #1853.

@fatih
Copy link
Owner Author

fatih commented Jun 7, 2018

Could you write what these problems are? Would be helpful to fix those. I'm using it since I've switched it and it was working well.

@bhcleek
Copy link
Collaborator

bhcleek commented Jun 7, 2018

I've started documenting on #1853. Let's move to there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants