-
Notifications
You must be signed in to change notification settings - Fork 657
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
Company: make autocomplete after typing "func" optional #490
Comments
I can make a flag which disables that feature on the gocode side. |
Added in 4166437. The option is enabled by default to keep backwards compatibility. Try disabling it, maybe it solves your problem. |
Yes, that fixed it. Thank you so much! |
This also happens when typing "break", it will open up completion for everything that's defined. Is that intended? |
No it's a bug. #385 |
I am learning Go recently and meet the problem. I am still confused about what I should do to fix it, can anybody tell me? |
As it is right now, with a default
company-minimum-prefix-length
company-go will popup function names after you typefunc
and selecting them replaces the previously writtenfunc
. This is pretty strange behaviour, and no other autocompletion I've used would open up a list of candidates after typingfunction
or whatever the language's keyword for it is.Are there any plans of adding something like this? If not that's fine, I'm okay with patching it myself. It seems simple enough from the emacs side, but if this was added to the core gocode is beyond my capability. But there's a few places I could put this, and I'm not sure where is best. Any pointers would be appreciated.
The text was updated successfully, but these errors were encountered: