{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1756","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1756/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1756/events","html_url":"https://github.com/Microsoft/TypeScript/issues/1756","id":55014862,"number":1756,"title":"VS2013 RC4, TypeScript 1.4, NTVS 1.0RC2: pasting a function mutilates its comment","user":{"login":"rogierschouten","id":7348032,"avatar_url":"https://avatars.githubusercontent.com/u/7348032?v=3","gravatar_id":"","url":"https://api.github.com/users/rogierschouten","html_url":"https://github.com/rogierschouten","followers_url":"https://api.github.com/users/rogierschouten/followers","following_url":"https://api.github.com/users/rogierschouten/following{/other_user}","gists_url":"https://api.github.com/users/rogierschouten/gists{/gist_id}","starred_url":"https://api.github.com/users/rogierschouten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogierschouten/subscriptions","organizations_url":"https://api.github.com/users/rogierschouten/orgs","repos_url":"https://api.github.com/users/rogierschouten/repos","events_url":"https://api.github.com/users/rogierschouten/events{/privacy}","received_events_url":"https://api.github.com/users/rogierschouten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T12:56:46Z","updated_at":"2015-01-21T18:23:58Z","closed_at":null,"body":"Not sure if this should be reported here, please let me know.\r\n\r\nPasting the following text in a TypeScript file\r\n\r\n```javascript\r\n        /**\r\n\t * Try to get resources to write some of the to-be-done archives to the database\r\n\t */\r\n\tprivate _doSomeWriting(): Promise<void> {\r\n        }\r\n```\r\n\r\nconsistently yields\r\n\r\n```javascript\r\n\t/**\r\n\t\t ry to get resources to write some of the to-be-done archives to the database\r\n\t\t \r\n\tprivate _doSomeWriting(): Promise<void> {\r\n\t}\r\n```\r\n\r\ni.e. the top comment is mutilated. Pressing Ctrl+Z once solves it.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/70892151","html_url":"https://github.com/Microsoft/TypeScript/issues/1756#issuecomment-70892151","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/1756","id":70892151,"user":{"login":"rogierschouten","id":7348032,"avatar_url":"https://avatars.githubusercontent.com/u/7348032?v=3","gravatar_id":"","url":"https://api.github.com/users/rogierschouten","html_url":"https://github.com/rogierschouten","followers_url":"https://api.github.com/users/rogierschouten/followers","following_url":"https://api.github.com/users/rogierschouten/following{/other_user}","gists_url":"https://api.github.com/users/rogierschouten/gists{/gist_id}","starred_url":"https://api.github.com/users/rogierschouten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogierschouten/subscriptions","organizations_url":"https://api.github.com/users/rogierschouten/orgs","repos_url":"https://api.github.com/users/rogierschouten/repos","events_url":"https://api.github.com/users/rogierschouten/events{/privacy}","received_events_url":"https://api.github.com/users/rogierschouten/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T18:23:58Z","updated_at":"2015-01-21T18:23:58Z","body":"Also, you need to have all the \"Format on XXX\" checkboxes checked under\r\nTools - Options - Text Editor - Typescript somewhere\r\nOn Jan 21, 2015 7:18 PM, \"Vladimir Matveev\" <notifications@github.com>\r\nwrote:\r\n\r\n> I cannot reproduce it but symptoms look very suspicious as you describe it\r\n> - formatting should never took away anything but whitespaces. Do you have\r\n> anything else in this file?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/Microsoft/TypeScript/issues/1756#issuecomment-70891166>\r\n> .\r\n>"}}