{"action":"created","issue":{"url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/73","repository_url":"https://api.github.com/repos/BetterThanTomorrow/calva","labels_url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/73/comments","events_url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/73/events","html_url":"https://github.com/BetterThanTomorrow/calva/issues/73","id":366230055,"node_id":"MDU6SXNzdWUzNjYyMzAwNTU=","number":73,"title":"Having trouble with \"go to definition\" for nrepl in docker container","user":{"login":"eric-hu","id":676307,"node_id":"MDQ6VXNlcjY3NjMwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/676307?v=4","gravatar_id":"","url":"https://api.github.com/users/eric-hu","html_url":"https://github.com/eric-hu","followers_url":"https://api.github.com/users/eric-hu/followers","following_url":"https://api.github.com/users/eric-hu/following{/other_user}","gists_url":"https://api.github.com/users/eric-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/eric-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eric-hu/subscriptions","organizations_url":"https://api.github.com/users/eric-hu/orgs","repos_url":"https://api.github.com/users/eric-hu/repos","events_url":"https://api.github.com/users/eric-hu/events{/privacy}","received_events_url":"https://api.github.com/users/eric-hu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T08:37:29Z","updated_at":"2018-10-03T12:50:14Z","closed_at":null,"author_association":"NONE","body":"Hi there!\r\n\r\nI'm not sure if this was working in the past for my setup, but I noticed recently that \"go to definition\" failed for my project files. On closer inspection, when I try to go to a definition, I noticed the error is:\r\n\r\n> Unable to open '\\<file\\>.clj': File not found (file:///home/\\<user\\>/code/server/<...>.clj).\r\n\r\nThe <user> part doesn'tt make sense for my development host machine, but makes perfect sense for my project's docker image. I read through [this issue](https://github.com/BetterThanTomorrow/calva/issues/41) and [this issue](https://github.com/BetterThanTomorrow/calva/issues/56), which are both similar. It sounds like Calva is requesting code's filepath from nrepl, which in my case is running inside the docker container.\r\n\r\nI think my coworker was running into a similar problem with his emacs/nrepl setup and resorted to running his target project outside of Docker while supporting services are still in Docker.\r\n\r\nIs there some configuration I can set to make this setup work? I imagine it would have to be some kind of mapping between file paths provided by nrepl and the file path that Calva instructs VSCode to open."},"comment":{"url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/comments/426625480","html_url":"https://github.com/BetterThanTomorrow/calva/issues/73#issuecomment-426625480","issue_url":"https://api.github.com/repos/BetterThanTomorrow/calva/issues/73","id":426625480,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjYyNTQ4MA==","user":{"login":"PEZ","id":30010,"node_id":"MDQ6VXNlcjMwMDEw","avatar_url":"https://avatars2.githubusercontent.com/u/30010?v=4","gravatar_id":"","url":"https://api.github.com/users/PEZ","html_url":"https://github.com/PEZ","followers_url":"https://api.github.com/users/PEZ/followers","following_url":"https://api.github.com/users/PEZ/following{/other_user}","gists_url":"https://api.github.com/users/PEZ/gists{/gist_id}","starred_url":"https://api.github.com/users/PEZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PEZ/subscriptions","organizations_url":"https://api.github.com/users/PEZ/orgs","repos_url":"https://api.github.com/users/PEZ/repos","events_url":"https://api.github.com/users/PEZ/events{/privacy}","received_events_url":"https://api.github.com/users/PEZ/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T12:50:14Z","updated_at":"2018-10-03T12:50:14Z","author_association":"COLLABORATOR","body":"Hello!\r\n\r\nThere is a configuration around this at current. But if you can create a minimal Docker container and instructions about how to reproduce I can try add support for it."}}
{"actor":{"display_login":"PEZ"}}