{"action":"created","issue":{"url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/47","labels_url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/47/comments","events_url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/47/events","html_url":"https://github.com/Wikunia/brackets-FuncDocr/issues/47","id":65425769,"number":47,"title":"Functions get squished if there are multiline comments in between.","user":{"login":"Hirse","id":2564094,"avatar_url":"https://avatars.githubusercontent.com/u/2564094?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirse","html_url":"https://github.com/Hirse","followers_url":"https://api.github.com/users/Hirse/followers","following_url":"https://api.github.com/users/Hirse/following{/other_user}","gists_url":"https://api.github.com/users/Hirse/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirse/subscriptions","organizations_url":"https://api.github.com/users/Hirse/orgs","repos_url":"https://api.github.com/users/Hirse/repos","events_url":"https://api.github.com/users/Hirse/events{/privacy}","received_events_url":"https://api.github.com/users/Hirse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-31T11:02:42Z","updated_at":"2015-03-31T14:15:51Z","closed_at":"2015-03-31T14:10:53Z","body":"I have copied some function from another (poorly documented) source and had code that looked like this:\r\n```js\r\n/**\r\n * This is function a\r\n * @param   {Number}  b this is b\r\n * @returns {Boolean} always false\r\n */\r\nvar a = function (b) {\r\n    return false;\r\n};\r\n\r\n/*\r\n * Any Block comment\r\n */\r\nvar c = function (d) {\r\n    return false;\r\n};\r\n```\r\nWhen I now use the `Ctrl`+`Alt`+`D` hotkey to add / reformat the JsDoc for function c, the first function and the multiline comment are simply deleted and the extension behaves like the first JsDoc belongs to the second function:\r\n```js\r\n/**\r\n * This is function a\r\n * @param   {[[Type]]} d [[Description]]\r\n * @returns {Boolean}  always false\r\n */\r\nvar c = function (d) {\r\n    return false;\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/comments/88103632","html_url":"https://github.com/Wikunia/brackets-FuncDocr/issues/47#issuecomment-88103632","issue_url":"https://api.github.com/repos/Wikunia/brackets-FuncDocr/issues/47","id":88103632,"user":{"login":"Wikunia","id":4931746,"avatar_url":"https://avatars.githubusercontent.com/u/4931746?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikunia","html_url":"https://github.com/Wikunia","followers_url":"https://api.github.com/users/Wikunia/followers","following_url":"https://api.github.com/users/Wikunia/following{/other_user}","gists_url":"https://api.github.com/users/Wikunia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikunia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikunia/subscriptions","organizations_url":"https://api.github.com/users/Wikunia/orgs","repos_url":"https://api.github.com/users/Wikunia/repos","events_url":"https://api.github.com/users/Wikunia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikunia/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:15:51Z","updated_at":"2015-03-31T14:15:51Z","body":"Well thanks for the issue :)"}}