-
Notifications
You must be signed in to change notification settings - Fork 87
Vscode does not prompt "built-in" #34
Comments
the same problem |
Can you please elaborate? Best would be if you can provide a minimal Go test file, where your cursor is within the file when you request completion, what completions you're receiving, and what completions you expected. Thanks. |
I see. In github.com/mdempsky/gocode/suggest/candidate.go there's:
If you change that from Can you test that out and let me know if it works as you expect? If so, I'll look into enabling it by default. |
but panic... 2018/07/04 09:28:01 ------------------------------------------------------- goroutine 23 [running]: |
Avoids a nil pointer dereference for builtin objects, which don't have an associated package. Updates #34.
Sorry about that. I tested that before recommending it, but apparently had an old checkout. I believe I've fixed proposeBuiltins at master. Please try again. Thank you. |
Suggestions for builtins are now controlled by a If there's a preferable way to integrate that customization into VS Code, let me know. |
I restart gocode
output 2018/07/04 11:11:19 ======================================================= func main() { also can not prompt "builtin", it's right ? |
Thanks for the fix @mdempsky! I've verified that it works as intended. @willxm Please follow the below to try the integrated fix in VS Code. I'll release an update early next week.
|
Vscode does not prompt "built-in"
The text was updated successfully, but these errors were encountered: