I know this is about 4 years late, however reading through the docs I found 
out that you need to run go install on the "main" package to get 
auto-complete to recognize all the packages that are part of the file you 
are working on. it can be found here https://github.com/nsf/gocode#misc

basically to build out the tree and force auto-complete to build its tree 
and dictionary I guess it needs this command, so whenever you create a new 
package and import it into main you will need to run go install for it to 
register

-- again this forum seems dead but hopefully someone in need will find this 
info useful. (this is for auto-complete and go-eldoc)

On Tuesday, October 30, 2012 at 4:30:00 PM UTC-4, Luke Mauldin wrote:
>
> Was a solution ever found to this problem?  I am working on this as well 
> and it works fine if I do {struct}. and then it gives me the members. 
>  However, if I have a function local to the package I have to type . in 
> order to get an auto-completion list.  Is there any way that I can change 
> this or maybe type "Ctrl-Tab", etc... to get the auto complete list?
>
> Luke
>
> On Friday, October 26, 2012 1:27:26 PM UTC-5, kitsi...@gmail.com wrote:
>>
>> me too. i don't know why need to start emacs from terminal window.
>>
>> thanks
>>
>> On Wednesday, September 19, 2012 12:55:44 PM UTC+8, Jon Hirschtick wrote:
>>>
>>> Works for me on my Mac (Gnu Emacs 24.2.1 built for Cocoa), but have to 
>>> start it from a Terminal window:
>>>
>>> $ open -a emacs
>>>
>>> My ~/.emacs looks a lot like the other examples posted.
>>>
>>> Good luck,
>>>
>>> - Jon
>>>
>>> On Thursday, September 6, 2012 12:08:52 AM UTC-5, Tahir Hashmi wrote:
>>>>
>>>> I've been trying to get auto-complete-mode to be activated by default 
>>>> with go-mode in Emacs, but my efforts so far have been futile. More 
>>>> details 
>>>> on this question at stackoverflow: 
>>>> http://stackoverflow.com/questions/12278990/auto-complete-with-go-mode
>>>>
>>>> I'm hoping someone on this list might be able to answer it better. This 
>>>> issue is killing my productivity, not because I can't write code without 
>>>> auto-completion but because I can't get over the fact that something so 
>>>> simple should result in so much pain. ;-)
>>>>
>>>> TIA
>>>>
>>>> -- 
>>>> Tahir Hashmi
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to