{"action":"created","issue":{"url":"https://api.github.com/repos/GoClipse/goclipse/issues/185","repository_url":"https://api.github.com/repos/GoClipse/goclipse","labels_url":"https://api.github.com/repos/GoClipse/goclipse/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/GoClipse/goclipse/issues/185/comments","events_url":"https://api.github.com/repos/GoClipse/goclipse/issues/185/events","html_url":"https://github.com/GoClipse/goclipse/issues/185","id":132683808,"number":185,"title":"'Go to definition' does not work","user":{"login":"abligh","id":1240226,"avatar_url":"https://avatars.githubusercontent.com/u/1240226?v=3","gravatar_id":"","url":"https://api.github.com/users/abligh","html_url":"https://github.com/abligh","followers_url":"https://api.github.com/users/abligh/followers","following_url":"https://api.github.com/users/abligh/following{/other_user}","gists_url":"https://api.github.com/users/abligh/gists{/gist_id}","starred_url":"https://api.github.com/users/abligh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abligh/subscriptions","organizations_url":"https://api.github.com/users/abligh/orgs","repos_url":"https://api.github.com/users/abligh/repos","events_url":"https://api.github.com/users/abligh/events{/privacy}","received_events_url":"https://api.github.com/users/abligh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-10T12:17:19Z","updated_at":"2016-02-12T13:12:35Z","closed_at":"2016-02-12T13:12:35Z","body":"Selecting a method and using F3 / Go to definition does not always work. Here is a minimal program illustrating the point:\r\n\r\n    package main\r\n    \r\n    import (\r\n    \tzmq \"github.com/pebbe/zmq4\"\r\n    )\r\n    \r\n    func main() {\r\n    \tresponder, _ := zmq.NewSocket(zmq.REP)\r\n    \tdefer responder.Close()\r\n    }\r\n\r\nPut that in a new project, and pull zmq4 from github. Right click on 'NewSocket', 'REP' or 'Close' and do 'go to definition'. You will get the mysterious error *'selected position does not refer to a definition. Rather, it's a: selector'*. I am pretty sure this used to work."},"comment":{"url":"https://api.github.com/repos/GoClipse/goclipse/issues/comments/183321981","html_url":"https://github.com/GoClipse/goclipse/issues/185#issuecomment-183321981","issue_url":"https://api.github.com/repos/GoClipse/goclipse/issues/185","id":183321981,"user":{"login":"bruno-medeiros","id":4324232,"avatar_url":"https://avatars.githubusercontent.com/u/4324232?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno-medeiros","html_url":"https://github.com/bruno-medeiros","followers_url":"https://api.github.com/users/bruno-medeiros/followers","following_url":"https://api.github.com/users/bruno-medeiros/following{/other_user}","gists_url":"https://api.github.com/users/bruno-medeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-medeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-medeiros/subscriptions","organizations_url":"https://api.github.com/users/bruno-medeiros/orgs","repos_url":"https://api.github.com/users/bruno-medeiros/repos","events_url":"https://api.github.com/users/bruno-medeiros/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-medeiros/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T13:12:35Z","updated_at":"2016-02-12T13:12:35Z","body":"I'm on Windows, so I can't install that easily. In any case don't think it matters, this seem to be an oracle issue, same as this: https://github.com/GoClipse/goclipse/issues/176\r\n\r\nNamely the problem is: https://github.com/golang/go/issues/13971\r\n\r\nThe good news is I might switch to using https://github.com/rogpeppe/godef instead, it seems nearly every other IDE/editor is using that, so it might have better support overall. And I did try it on the case above, and it seems to work."}}