I 've been using goclipse for a while. I never got the godef working in eclipse except for the definitions in the same file opened in the editor. I never bothered much but this time I thought I will get this fixed. But looks like no way I am able to get this working.
Even I tried 'godef' commandline in my repo even that doesn't seem to work.
If anybody familiar with godef could help me, that would be great.
basically, I have repo with dir structure like this. foo/a.go bar/b.go. Now from eclipse I open b.go and look for a definition in a.go. It just can't find it.
I tried command line godef -f bar/b.go foo.expr
. It can't find. but it works as long as expr is in the b.go. for example - godef -f bar/b.go bas
works as long as bas is in b.go
What is going wrong here? Does the godef only search for expr in the same file ?