{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/13243","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/13243/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/13243/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/13243/events","html_url":"https://github.com/Microsoft/vscode/issues/13243","id":181135341,"number":13243,"title":"JSDoc optional param forms will not display parameter info.","user":{"login":"OverlyExcessive","id":346756,"avatar_url":"https://avatars.githubusercontent.com/u/346756?v=3","gravatar_id":"","url":"https://api.github.com/users/OverlyExcessive","html_url":"https://github.com/OverlyExcessive","followers_url":"https://api.github.com/users/OverlyExcessive/followers","following_url":"https://api.github.com/users/OverlyExcessive/following{/other_user}","gists_url":"https://api.github.com/users/OverlyExcessive/gists{/gist_id}","starred_url":"https://api.github.com/users/OverlyExcessive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OverlyExcessive/subscriptions","organizations_url":"https://api.github.com/users/OverlyExcessive/orgs","repos_url":"https://api.github.com/users/OverlyExcessive/repos","events_url":"https://api.github.com/users/OverlyExcessive/events{/privacy}","received_events_url":"https://api.github.com/users/OverlyExcessive/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vscode/labels/js","name":"js","color":"1d76db"},{"url":"https://api.github.com/repos/Microsoft/vscode/labels/upstream","name":"upstream","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false},"assignees":[{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-10-05T12:08:33Z","updated_at":"2016-10-14T21:17:34Z","closed_at":"2016-10-10T15:49:03Z","body":"- VSCode Version: 1.5.3\r\n- OS Version: OSX Yosemite\r\n\r\nAccording to the documentation of [JSDoc support](https://github.com/Microsoft/TypeScript/wiki/JsDoc-support-in-JavaScript) in VSCode, posted below. Then optional parameters can be declared in all of the below forms. However it seems that as of VSCode 1.5.3 the last two forms the latter two forms in the sample will not display parameter information.\r\n\r\n```javascript\r\n// Parameters may be delcared in a variety of syntactic forms\r\n\r\n/**\r\n * @param {string}  p1 - A string param. \r\n * @param {string=} p2 - An optional param \r\n * @param {string} [p3] - Another optional param.\r\n * @param {string} [p4=\"test\"] - An optional param with a default value\r\n * @return {string} This is the result\r\n */\r\nfunction fn3(p1, p2, p3, p4){\r\n  // TODO\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/253921787","html_url":"https://github.com/Microsoft/vscode/issues/13243#issuecomment-253921787","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/13243","id":253921787,"user":{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T21:17:34Z","updated_at":"2016-10-14T21:17:34Z","body":"That would be the new grammar extension! Its in beta right now and we're looking to bring it into the product. \r\n\r\nhttps://marketplace.visualstudio.com/items?itemName=ms-vscode.typescript-javascript-grammar"}}
{"actor":{"display_login":"waderyan"}}