BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

WebStorm 10 Compiles TypeScript 1.4 to JavaScript on the Fly

| by Abel Avram Follow 4 Followers on Apr 01, 2015. Estimated reading time: 1 minute |

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

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT