intellisense and code complete for DefinitelyTyped (TypeScript type definitions) on WebStorm IDE

As basarat says in his answer, you need to include the definitions manually. The easiest way to do this is with tsd. Once installed (npm install -g tsd), navigate to the directory you want to hold the typings, and install definition files (such as angular, in the following example) like this:

tsd query angular --action install

or, better yet:

tsd init
tsd query angular --save --action install

Note that you can do all this within Webstorm (alt-F12 opens a terminal window).

Leave a Comment