Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News WebStorm 10 Compiles TypeScript 1.4 to JavaScript on the Fly

WebStorm 10 Compiles TypeScript 1.4 to JavaScript on the Fly

This item in japanese

JetBrains WebStorm 10 compiles TypeScript 1.4 code to JavaScript while editing. It has added support for unions, modules, decorators, plus let and const keywords. It comes with an application dependency diagram, source maps and a CPU plus memory profiler for V8.

One of the most important features in WebStorm 10 is improved support for TypeScript 1.4 including a compiler that transforms TypeScript code into its JavaScript equivalent while editing. Any syntax error is underlined. Also, WebStorm supports TypeScript 1.4’s union type and the let and const keywords, plus modules and decorators expected in TypeScript 1.5 and as part of ECMAScript 6 and respectively 7.

According to JetBrains, they have “reworked support for JavaScript from the ground up”, making code completion and highlighting faster. Also, the editor comes with a “distraction-free” mode which removes all toolbars and menu bar, leaving visible only the text file under work. A new setting enables developers to edit both the start and the end HTML tags in one go.

With spy-js one can create and visualize application dependency diagrams outlining the connections between different source files and function calls. spy-js also supports source maps tracing the execution path from a JavaScript piece of code to the original TypeScript, CoffeeScript or ES 6 code.

WebStorm 10 can profile the CPU consumption for Node.js apps running on V8 so one can find CPU hogs. It can also profile the heap showing memory consumption per object.

At last, we would mention better Grunt integration providing a consistent experience along with Gulp. WebStorm 10 includes the static code analyzer for Dart which outlines errors and warnings.

Rate this Article