WebStorm Adds JavaScript Smart Intentions
Written by Kay Ewbank   
Friday, 05 April 2019

The new 2019.1 release of WebStorm adds smart intentions for JavaScript and TypeScript, improved support for Angular, updated documentation for CSS and HTML, and a more powerful debug console.

WebStorm is a JavaScript web development IDE from JetBrains. It has smart coding assistance for JavaScript and compiled-to-JavaScript languages, Node.js, HTML and CSS, with code completion, on-the-fly error detection, and refactorings.

wslogo

The smart intentions JavaScript and TypeScript are designed to help you introduce destructuring to your code. Destructuring lets you unpack values from arrays and objects into variables.

Destructuring support in WebStorm

The new release also adds a fast way to convert a function that returns a Promise the old way using  then() and .catch() calls into an async function that uses the async/await syntax.  WebStorm lets you do this for TypeScript, JavaScript and Flow.

Another improvement to the new release is in Angular support. There are 17 new inspections designed to help you detect Angular-specific errors as you type. The inspections will suggest fixes to the problems, These inspections work both in the TypeScript and template files and check the use of bindings, directives and components.

Still in the Angular area, navigation of Angular projects has been improved with support for the Related Symbol… popup to jump between the different component files such as TypeScript, template, style, and test files. In the TypeScript file, the popup will also list all the symbols that were imported into this file.

If you're developing Vue apps, there's improved support for TypeScript in this release. WebStorm now uses the TypeScript language service as well as its own TypeScript support for any TypeScript code in .vue files. This means that you’ll now get more accurate type checking and type info, you will be able to use the quick-fixes provided by the service, and see all the TypeScript errors in the current file in the TypeScript tool window.

WebStorm 2019.1 is now available for download.

 

 

 

wslogo 

 

More Information

WebStorm Website

Related Articles

Just JavaScript - Parameters, and Destructuring

JetBrains Strengthens WebStorm

WebStorm 10 Released 

WebStorm 6.0 Released  

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Ai-Da's Portrait of Alan Turing At Auction
01/11/2024

Sotheby's Digital Art Day Action, now underway, features a large-scale portrait of  Alan Turing created by Ai-Da, the humanoid robot artist whose work, including this canvas, was exhibited at the [ ... ]



The Feds Want Us To Move On From C/C++
13/11/2024

The clamour for safe programming languages seems to be growing and becoming official. We have known for a while that C and C++ are dangerous languages so why has it become such an issue now and is it  [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 05 April 2019 )