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

How to trigger autocomplete for Go? #10

Closed
rythmkraze opened this issue Nov 3, 2018 · 3 comments
Closed

How to trigger autocomplete for Go? #10

rythmkraze opened this issue Nov 3, 2018 · 3 comments

Comments

@rythmkraze
Copy link

I understand that the code completion feature is experimental at the time. But I do not see any documentation (other than the F1 trigger which has been struck down) that tells me how to enable it. Could you please assist me.

@jmigpin
Copy link
Owner

jmigpin commented Nov 3, 2018

It's currently disabled (going to update the README).

An old version (~5 months ago?) had a very fast "go to definition" and an "auto completion" feature, but the code wasn't stable. The reason it was fast was because it was only analysing the absolute necessary path to get the task done. Goguru is slower in many cases but it is stable. So I set to use goguru and disabled the auto completion.

For auto completion the alternative would have been gocode, which is a client/server solution with cache that I didn't favor at the time. But most likely this is probably what will end up being used until something better is done.

I'm bumping this in my priority list since I miss it a bit as well.

@rythmkraze
Copy link
Author

Great 👍 Thankyou

@jmigpin
Copy link
Owner

jmigpin commented Jan 29, 2019

The autocomplete plugin has been working as expected more or less since aa0bcbf (F1 opens a float box, with gocode providing the content). This offloads the responsibility to an external program.

Improvements to the specifics of auto-completion can be done in another issue.

@jmigpin jmigpin closed this as completed Jan 29, 2019
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

No branches or pull requests

2 participants