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


OpenJS Foundation Launches jQuery Website Checker
23/04/2024

The OpenJS Foundation has launched a new website checker tool that detects if the jQuery used is out of date.



Rust Twice As Productive As C++
03/04/2024

Google director of engineering, Lars Bergstrom, gave a talk at the recent Rust Nation UK conference and claimed that Rust was twice as productive as C++. Given how good Google is at C++, this is quite [ ... ]


More News

raspberry pi books

 

Comments




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

Last Updated ( Friday, 05 April 2019 )