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 … Read more

How can I fix WebStorm warning “Unresolved function or method” for “require” (Firefox Add-on SDK)

Do you mean that require() is not resolved? You need to either add require.js to your project or enable Node.js Globals predefined library in Settings/Languages and Frameworks/JavaScript/Libraries. (Edited settings path by @yurik) In WebStorm 2016.x-2017.x: make sure that the Node.js Core library is enabled in Settings (Preferences) | Languages & Frameworks | Node.js and NPM … Read more

What is the .idea folder?

When you use the IntelliJ IDE, all the project-specific settings for the project are stored under the .idea folder. Project settings are stored with each specific project as a set of xml files under the .idea folder. If you specify the default project settings, these settings will be automatically used for each newly created project. … Read more

Why I am not getting warnings about StrictNullChecks in typescript

Turn on “strict”: true, in the tsconfig.json to enable this warning. Or if you don’t want all the strict options you in need: “strictNullChecks”: true, “strictPropertyInitialization”: true, See the documentation for more information –strictNullCheck: In strict null checking mode, the null and undefined values are not in the domain of every type and are only … Read more