Re:Announcing TypeScript 2.2
by realharo on Wednesday February 22, 2017 @02:02PM
(#13708190)
The inspections, autocomplete, and auto-import suggestions work great for me, but it doesn't seem to have that "show type on hover" functionality (not even Ctrl+hover, or quick documentation show it), that VSCode and even the online Monaco editor on http://www.typescriptlang.org/play/ have.
[ Parent
| on HN ]
Pressing the keyboard shortcut for the "expression type" command is not that cumbersome though (default: ctrl + shift + p).
That doesn't seem to show the same information as VSCode though. If you go to https://goo.gl/zteCbj and hover over the `x`, it will show type A. If you hover over `y` it will show either AB or B|null, depending on whether you have strictNullChecks enabled. IntelliJ also doesn't show any information for type aliases.