Reputation: 17773
Visual Studio Code has awesome TypeScript support, e.g. type inference that is shown in tooltips (when I hover over function that has no type defined). By default in WebStorm I only get Console/Errors inside tool window.
Are there any plugins / settings in WebStorm that will enrich TypeScript support?
Upvotes: 2
Views: 452
Reputation: 93728
View | Expression Type
(Ctrl+Shift+P
in default keymap) allows to view the inferred type. You can also use Ctrl+Q
(View | Quick Documentation
) here.
Some other actions you may find useful:
View | Quick definition
: shows a tooltip with function definitionView | Parameter Infor
: when invoked within function call parentheses, shows information about function parametersIf you miss tooltips similar to VS Code, please vote for WEB-19686
Upvotes: 3