{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13088","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13088/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13088/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13088/events","html_url":"https://github.com/Microsoft/TypeScript/issues/13088","id":196883085,"number":13088,"title":"[TypeScript 2.1.4] Why QuickInfo truncates documentation? ","user":{"login":"angelozerr","id":1932211,"avatar_url":"https://avatars.githubusercontent.com/u/1932211?v=3","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false},"labels":[{"id":113971601,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/External","name":"External","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-21T09:22:25Z","updated_at":"2016-12-21T20:25:16Z","closed_at":null,"body":"It seems that TypeScript 2.1.4 truncates documentation of quickinfo.\r\n\r\nTakes a sample:\r\n\r\n```\r\n/**\r\n * An injectable service for executing work inside or outside of the Angular zone.\r\n *\r\n * The most common use of this service is to optimize performance when starting a work consisting of\r\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\r\n * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks\r\n * can reenter the Angular zone via {@link #run}.\r\n *\r\n * <!-- TODO: add/fix links to:\r\n *   - docs explaining zones and the use of zones in Angular and change-detection\r\n *   - link to runOutsideAngular/run (throughout this file!)\r\n *   -->\r\n *\r\n * ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))\r\n * ```\r\n * import {Component, View, NgZone} from '@angular/core';\r\n * import {NgIf} from '@angular/common';\r\n *\r\n * @Component({\r\n *   selector: 'ng-zone-demo'.\r\n *   template: `\r\n *     <h2>Demo: NgZone</h2>\r\n *\r\n *     <p>Progress: {{progress}}%</p>\r\n *     <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\r\n *\r\n *     <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\r\n *     <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\r\n *   `,\r\n *   directives: [NgIf]\r\n * })\r\n * export class NgZoneDemo {\r\n *   progress: number = 0;\r\n *   label: string;\r\n *\r\n *   constructor(private _ngZone: NgZone) {}\r\n *\r\n *   // Loop inside the Angular zone\r\n *   // so the UI DOES refresh after each setTimeout cycle\r\n *   processWithinAngularZone() {\r\n *     this.label = 'inside';\r\n *     this.progress = 0;\r\n *     this._increaseProgress(() => console.log('Inside Done!'));\r\n *   }\r\n *\r\n *   // Loop outside of the Angular zone\r\n *   // so the UI DOES NOT refresh after each setTimeout cycle\r\n *   processOutsideOfAngularZone() {\r\n *     this.label = 'outside';\r\n *     this.progress = 0;\r\n *     this._ngZone.runOutsideAngular(() => {\r\n *       this._increaseProgress(() => {\r\n *       // reenter the Angular zone and display done\r\n *       this._ngZone.run(() => {console.log('Outside Done!') });\r\n *     }}));\r\n *   }\r\n *\r\n *\r\n *   _increaseProgress(doneCallback: () => void) {\r\n *     this.progress += 1;\r\n *     console.log(`Current progress: ${this.progress}%`);\r\n *\r\n *     if (this.progress < 100) {\r\n *       window.setTimeout(() => this._increaseProgress(doneCallback)), 10)\r\n *     } else {\r\n *       doneCallback();\r\n *     }\r\n *   }\r\n * }\r\n * ```\r\n * @experimental\r\n */\r\nexport declare class NgZone {\r\n```\r\n\r\nIf you hover NgZone  class.\r\n\r\n* with TypeScript 2.0.10 it works great:\r\n\r\n![quickinfo_2 0 10](https://cloud.githubusercontent.com/assets/1932211/21383675/4534bbf4-c767-11e6-9b3c-848eb3d06aac.png)\r\n\r\n* with TypeScript 2.1.4 documentation is truncated\r\n\r\n![quickinfo_2 1 4](https://cloud.githubusercontent.com/assets/1932211/21383639/0f6606e0-c767-11e6-9004-868f0bba3e4a.png)\r\n\r\nPerhaps this behaviour is normal to improve performance?"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/268629589","html_url":"https://github.com/Microsoft/TypeScript/issues/13088#issuecomment-268629589","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13088","id":268629589,"user":{"login":"angelozerr","id":1932211,"avatar_url":"https://avatars.githubusercontent.com/u/1932211?v=3","gravatar_id":"","url":"https://api.github.com/users/angelozerr","html_url":"https://github.com/angelozerr","followers_url":"https://api.github.com/users/angelozerr/followers","following_url":"https://api.github.com/users/angelozerr/following{/other_user}","gists_url":"https://api.github.com/users/angelozerr/gists{/gist_id}","starred_url":"https://api.github.com/users/angelozerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelozerr/subscriptions","organizations_url":"https://api.github.com/users/angelozerr/orgs","repos_url":"https://api.github.com/users/angelozerr/repos","events_url":"https://api.github.com/users/angelozerr/events{/privacy}","received_events_url":"https://api.github.com/users/angelozerr/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T20:25:16Z","updated_at":"2016-12-21T20:25:16Z","body":"@RyanCavanaugh I have the same problem with Eclipse. The documentation from quick info is truncated too."}}
{"actor":{"display_login":"angelozerr"}}