{"action":"created","issue":{"url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/481","repository_url":"https://api.github.com/repos/Rip-Rip/clang_complete","labels_url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/481/comments","events_url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/481/events","html_url":"https://github.com/Rip-Rip/clang_complete/issues/481","id":145142275,"number":481,"title":"Try to jump to definition before trying to go to the declaration in project","user":{"login":"jcppkkk","id":84070,"avatar_url":"https://avatars.githubusercontent.com/u/84070?v=3","gravatar_id":"","url":"https://api.github.com/users/jcppkkk","html_url":"https://github.com/jcppkkk","followers_url":"https://api.github.com/users/jcppkkk/followers","following_url":"https://api.github.com/users/jcppkkk/following{/other_user}","gists_url":"https://api.github.com/users/jcppkkk/gists{/gist_id}","starred_url":"https://api.github.com/users/jcppkkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcppkkk/subscriptions","organizations_url":"https://api.github.com/users/jcppkkk/orgs","repos_url":"https://api.github.com/users/jcppkkk/repos","events_url":"https://api.github.com/users/jcppkkk/events{/privacy}","received_events_url":"https://api.github.com/users/jcppkkk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T10:15:48Z","updated_at":"2016-04-01T13:25:29Z","closed_at":null,"body":"An advanced case driven from #311 \r\nConsider the following example:\r\n\r\n**main.c**\r\n```\r\n#include \"a.h\"\r\nint main(void)\r\n{\r\n\ta(42);\r\n}\r\n```\r\n**a.h**\r\n```\r\nstatic void a(int b);\r\n```\r\n**a.c**\r\n```\r\nstatic void a (int b) { }\r\n```\r\n\r\nWe jumps to a.h now. Could we jumps to a.c instead?"},"comment":{"url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/comments/204395606","html_url":"https://github.com/Rip-Rip/clang_complete/issues/481#issuecomment-204395606","issue_url":"https://api.github.com/repos/Rip-Rip/clang_complete/issues/481","id":204395606,"user":{"login":"xaizek","id":459736,"avatar_url":"https://avatars.githubusercontent.com/u/459736?v=3","gravatar_id":"","url":"https://api.github.com/users/xaizek","html_url":"https://github.com/xaizek","followers_url":"https://api.github.com/users/xaizek/followers","following_url":"https://api.github.com/users/xaizek/following{/other_user}","gists_url":"https://api.github.com/users/xaizek/gists{/gist_id}","starred_url":"https://api.github.com/users/xaizek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaizek/subscriptions","organizations_url":"https://api.github.com/users/xaizek/orgs","repos_url":"https://api.github.com/users/xaizek/repos","events_url":"https://api.github.com/users/xaizek/events{/privacy}","received_events_url":"https://api.github.com/users/xaizek/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T13:25:29Z","updated_at":"2016-04-01T13:25:29Z","body":"I don't think so. While in compilation-unit `main.c`, clang_complete knows nothing  about `a.c`  and can't navigate there. It needs a cross-unit database of symbols to be able to do that."}}