stamblerre / gocode

An autocompletion daemon for the Go programming language
MIT License
394 stars 28 forks source link

Contextually autocomplete structs properties #30

Closed hook-s3c closed 4 years ago

hook-s3c commented 5 years ago

go 1.10.4 linux/amd64

Hi, I raised an issue on deoplete-go, an autocomplete integration for NeoVim's support for Golang.

I'm having trouble auto-completing for the properties of Structs when I build out variables.

Let me know what I need to do here and I'll get back to you.

https://github.com/deoplete-plugins/deoplete-go/issues/149

stamblerre commented 5 years ago

I don't think gocode does completion of struct fields when you are creating one. I will happily accept a PR, but gopls should be able to do this for you.

stamblerre commented 4 years ago

Closing this issue, as the current recommendation for autocompletion is to use gopls.