{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/40181","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/40181/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/40181/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/40181/events","html_url":"https://github.com/Microsoft/vscode/issues/40181","id":281921132,"number":40181,"title":"Intellisense when specifying object properties","user":{"login":"Bibliofile","id":6462247,"avatar_url":"https://avatars2.githubusercontent.com/u/6462247?v=4","gravatar_id":"","url":"https://api.github.com/users/Bibliofile","html_url":"https://github.com/Bibliofile","followers_url":"https://api.github.com/users/Bibliofile/followers","following_url":"https://api.github.com/users/Bibliofile/following{/other_user}","gists_url":"https://api.github.com/users/Bibliofile/gists{/gist_id}","starred_url":"https://api.github.com/users/Bibliofile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bibliofile/subscriptions","organizations_url":"https://api.github.com/users/Bibliofile/orgs","repos_url":"https://api.github.com/users/Bibliofile/repos","events_url":"https://api.github.com/users/Bibliofile/events{/privacy}","received_events_url":"https://api.github.com/users/Bibliofile/received_events","type":"User","site_admin":false},"labels":[{"id":291124272,"url":"https://api.github.com/repos/Microsoft/vscode/labels/javascript","name":"javascript","color":"1d76db","default":false},{"id":272689423,"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"708090","default":false}],"state":"open","locked":false,"assignee":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-12-13T22:37:24Z","updated_at":"2017-12-14T00:40:05Z","closed_at":null,"author_association":"NONE","body":"- VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.023Z)\r\n- OS Version: Windows_NT x64 10.0.16299\r\n- Extensions: Extensions are disabled\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new `.ts` file with the following code (Copied from [Typescript/17352](https://github.com/Microsoft/TypeScript/pull/17352))\r\n```ts\r\n/**\r\n * @param {object} o - has a string and a number\r\n * @param {string} o.s - the string\r\n * @param {number} o.n - the number\r\n */\r\nfunction f(o) { return o.s.length + o.n; }\r\n```\r\n2. Start typing to call the function\r\n\r\n![image](https://user-images.githubusercontent.com/6462247/33965639-e57354ba-e019-11e7-9fc7-d76f031cf764.png)\r\n\r\nI would expect the comment `the string` to show up when modifying the `s` property, however `- the number` is always shown. \r\n\r\nUsing Typescript types does not fix this issue (and is my primary concern): \r\n\r\n```ts\r\n/**\r\n * @param o - has a string and a number\r\n * @param o.s - the string\r\n * @param o.n - the number\r\n */\r\nfunction f(o: {s: string; n: number }) { return o.s.length + o.n; }\r\n```\r\n\r\nRelated: [Typescript/11597](https://github.com/Microsoft/TypeScript/issues/11597)"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/351571662","html_url":"https://github.com/Microsoft/vscode/issues/40181#issuecomment-351571662","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/40181","id":351571662,"user":{"login":"Bibliofile","id":6462247,"avatar_url":"https://avatars2.githubusercontent.com/u/6462247?v=4","gravatar_id":"","url":"https://api.github.com/users/Bibliofile","html_url":"https://github.com/Bibliofile","followers_url":"https://api.github.com/users/Bibliofile/followers","following_url":"https://api.github.com/users/Bibliofile/following{/other_user}","gists_url":"https://api.github.com/users/Bibliofile/gists{/gist_id}","starred_url":"https://api.github.com/users/Bibliofile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bibliofile/subscriptions","organizations_url":"https://api.github.com/users/Bibliofile/orgs","repos_url":"https://api.github.com/users/Bibliofile/repos","events_url":"https://api.github.com/users/Bibliofile/events{/privacy}","received_events_url":"https://api.github.com/users/Bibliofile/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T00:40:05Z","updated_at":"2017-12-14T00:40:05Z","author_association":"NONE","body":"You are correct, however fixing that does not resolve my problem unfortunately. (Though at least I'm getting the comment for `o` now)\r\n\r\n![image](https://user-images.githubusercontent.com/6462247/33969787-9c5dbd7a-e02c-11e7-94f6-6571a3a02347.png)\r\n"}}
{"actor":{"display_login":"Bibliofile"}}