This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 646
gocode autocompletion not working when using // in Sprintf #2240
Labels
Comments
norilt
changed the title
gocode autocompletion not working when using //
gocode autocompletion not working when using // in Sprintf
Jan 10, 2019
Thanks for reporting this @norilt This is happening because there is a logic in place to avoid calling gocode when anything is typed after We need to be a little more smarter there and not consider |
PRs are welcome to fix this bug Code Pointers:
|
@ramya-rao-a - can i please work on this issue? |
@rajdhandus feel free to fix it |
@rajdhandus Definitely, go ahead :) |
Is someone working on this? |
since there was no PR from @rajdhandus, I have done mine #2316 |
The latest beta version (0.9.3-beta.2) of this extension has the fix for this issue |
The fix for this issue is out in the latest release(0.10.0) of the Go extension |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you are using fmt.Sprintf("//%s", #), no autocompletion on postion # is available. However with vim and mdempsky/gocode it is working.
Example Code:
When you are running gocode in debug mode, you can see, that no request against gocode is made. It looks like vscode is consuming the request.
The text was updated successfully, but these errors were encountered: