{"action":"reopened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/290","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/290/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/290/events","html_url":"https://github.com/Microsoft/vscode-go/issues/290","id":148269126,"number":290,"title":"Find All References does not work on Windows when drive letter in GOPATH is capitalized","user":{"login":"samherrmann","id":6753988,"avatar_url":"https://avatars.githubusercontent.com/u/6753988?v=3","gravatar_id":"","url":"https://api.github.com/users/samherrmann","html_url":"https://github.com/samherrmann","followers_url":"https://api.github.com/users/samherrmann/followers","following_url":"https://api.github.com/users/samherrmann/following{/other_user}","gists_url":"https://api.github.com/users/samherrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/samherrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samherrmann/subscriptions","organizations_url":"https://api.github.com/users/samherrmann/orgs","repos_url":"https://api.github.com/users/samherrmann/repos","events_url":"https://api.github.com/users/samherrmann/events{/privacy}","received_events_url":"https://api.github.com/users/samherrmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-14T07:02:00Z","updated_at":"2016-09-23T23:17:37Z","closed_at":null,"body":"The guru tool that was introduced in version 0.6.38 for the Find All References feature does not work when the Windows drive letter in the GOPATH is capitalized. The format of the file path that the vscode-go extension passes to guru (https://github.com/Microsoft/vscode-go/blob/master/src/goReferences.ts#L38) may look something like this:\r\n\r\n`guru referrers c:/dev/gopath/src/hellogo/main.go:#69`\r\n\r\nThis call to guru causes the following error response:\r\n\r\n`guru: directory c:\\dev\\gopath\\src\\hellogo is not beneath any of these GOROOT/GOPATH directories: C:\\Go\\src, C:\\dev\\gopath\\src`\r\n\r\nIf the drive letter in the GOPATH is set to lowercase (matching the casing of the drive letter in the input), then guru works as expected.\r\n\r\nMy suggestion is that vscode-go should pass the `filename` to guru with the same drive letter casing  that is used in the GOPATH. That would add support for both uppercase and lowercase drive letters.\r\n\r\n\r\n"}}
{"actor":{"display_login":"ramya-rao-a"}}