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


Flutter Forked As Flock
05/11/2024

One of developers who worked on the Flutter team at Google has created an open-source form of the framework. Matt Carroll says Flock will be "Flutter+", will remain constantly up to date with Flutter, [ ... ]



Wasmer 5 Adds iOS Support
12/11/2024

The Wasmer team has released Wasmer 5.0. The WebAssembly runtime adds experimental support for more back ends including V8, Wasmi and WAMR. It also now has iOS support, and upgraded compilers includin [ ... ]


More News

espbook

 

Comments




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

Last Updated ( Friday, 05 April 2019 )