{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1872","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1872/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1872/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1872/events","html_url":"https://github.com/Microsoft/vscode-go/issues/1872","id":353654899,"node_id":"MDU6SXNzdWUzNTM2NTQ4OTk=","number":1872,"title":"Statement completion is working haphazardly","user":{"login":"leidegre","id":63085,"node_id":"MDQ6VXNlcjYzMDg1","avatar_url":"https://avatars2.githubusercontent.com/u/63085?v=4","gravatar_id":"","url":"https://api.github.com/users/leidegre","html_url":"https://github.com/leidegre","followers_url":"https://api.github.com/users/leidegre/followers","following_url":"https://api.github.com/users/leidegre/following{/other_user}","gists_url":"https://api.github.com/users/leidegre/gists{/gist_id}","starred_url":"https://api.github.com/users/leidegre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leidegre/subscriptions","organizations_url":"https://api.github.com/users/leidegre/orgs","repos_url":"https://api.github.com/users/leidegre/repos","events_url":"https://api.github.com/users/leidegre/events{/privacy}","received_events_url":"https://api.github.com/users/leidegre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-24T06:00:50Z","updated_at":"2018-08-29T06:27:27Z","closed_at":null,"author_association":"NONE","body":"It sometimes work, most of the time not. It looks like it's working relatively well for local variables and types but not package wide stuff.\r\n\r\nWhat would cause this, how do I debug this? What should I do? I'm at loss on how to get to the bottom of this so I thought I'd ask what the common issues are?\r\n\r\nI'll gladly root cause the issue I'm just not overly familiar with how everything fits together. I didn't use to have this problem and the tooling has been working fine before but now, this is a new issue for me that is consistent on at least two of my workstations.\r\n\r\nI've updated and installed the Go tools, on several occasions, and it is working but not particularly well.\r\n\r\n- go version go1.10.1 windows/amd64\r\n- I use a non default GOPATH but I don't think it matters, I have this problem regardless of workspace. I launch VS Code with the GOPATH environment variable set externally first"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/416839472","html_url":"https://github.com/Microsoft/vscode-go/issues/1872#issuecomment-416839472","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/1872","id":416839472,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjgzOTQ3Mg==","user":{"login":"ramya-rao-a","id":16890566,"node_id":"MDQ6VXNlcjE2ODkwNTY2","avatar_url":"https://avatars1.githubusercontent.com/u/16890566?v=4","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T06:27:27Z","updated_at":"2018-08-29T06:27:27Z","author_association":"MEMBER","body":"Well, if it is the extra `/` or `\\` in the end that is causing this, then its definitely a bug and we should fix this.\r\n\r\n@freman I tried with the extra `/` in the `go.gopath` setting on my mac, and I am getting the completions just fine\r\n\r\n@leidegre I am away from my Windows machine for the next few days, so I won't be able to figure out the fix just yet. But if you are interested, debugging the Go extension is very easy and you can give it a try.\r\n\r\nFor set up read https://github.com/Microsoft/vscode-go/wiki/Building,-Debugging-and-Sideloading-the-extension-in-Visual-Studio-Code#building-and-debugging-the-extension\r\n\r\nAll completion related code is in the `goSuggest.ts` file. You can add a breakpoint there to start"}}
{"actor":{"display_login":"ramya-rao-a"}}