{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/756","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/756/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/756/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/756/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/756","id":25008783,"number":756,"title":"\"GoToDefinition\" must \"#include\" cpp?","user":{"login":"yuquan23459","id":6250792,"avatar_url":"https://avatars.githubusercontent.com/u/6250792?v=3","gravatar_id":"","url":"https://api.github.com/users/yuquan23459","html_url":"https://github.com/yuquan23459","followers_url":"https://api.github.com/users/yuquan23459/followers","following_url":"https://api.github.com/users/yuquan23459/following{/other_user}","gists_url":"https://api.github.com/users/yuquan23459/gists{/gist_id}","starred_url":"https://api.github.com/users/yuquan23459/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuquan23459/subscriptions","organizations_url":"https://api.github.com/users/yuquan23459/orgs","repos_url":"https://api.github.com/users/yuquan23459/repos","events_url":"https://api.github.com/users/yuquan23459/events{/privacy}","received_events_url":"https://api.github.com/users/yuquan23459/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-01-03T10:23:38Z","updated_at":"2015-09-14T14:33:12Z","closed_at":"2014-01-04T02:00:29Z","body":"I have read the docs Efforts. I have a querstion:if my code's definition is in cpp file,and declaration in .h file. If i want to goto definition i must include cpp file?when i use \"GoToDeclaration subcommand\" is rigth, but use \"GoToDefinition subcommand\" If i include .h file it will appear \"RuntimeError: Can't jump to definition\".So I hope can fix this.Thanks!"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/140099876","html_url":"https://github.com/Valloric/YouCompleteMe/issues/756#issuecomment-140099876","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/756","id":140099876,"user":{"login":"JasonOldWoo","id":5212939,"avatar_url":"https://avatars.githubusercontent.com/u/5212939?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonOldWoo","html_url":"https://github.com/JasonOldWoo","followers_url":"https://api.github.com/users/JasonOldWoo/followers","following_url":"https://api.github.com/users/JasonOldWoo/following{/other_user}","gists_url":"https://api.github.com/users/JasonOldWoo/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonOldWoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonOldWoo/subscriptions","organizations_url":"https://api.github.com/users/JasonOldWoo/orgs","repos_url":"https://api.github.com/users/JasonOldWoo/repos","events_url":"https://api.github.com/users/JasonOldWoo/events{/privacy}","received_events_url":"https://api.github.com/users/JasonOldWoo/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T14:33:12Z","updated_at":"2015-09-14T14:33:12Z","body":"@Valloric but sometimes runtime error occurs when I define variable in .h file, I use GoToDefinition subcommand and log file shows runtime error can;t jump to definition / runtime error: file already begin parsed. What I confused is: I define several variable in .h file, some variables are failed to jump especially in large project which has many files."}}