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


Running PostgreSQL Inside Your Browser With PGLite
18/03/2024

Thanks to WebAssembly we can now enjoy PostgreSQL inside the browser so that we can build reactive, realtime, local-first apps directly on Postgres. PGLite is about to make this even easier.



White House Urges Memory Safe Software
29/02/2024

The White House is urging developers to adopt memory safe programming languages, suggesting Rust would be a safer choice than C or C++. 


More News

raspberry pi books

 

Comments




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

Last Updated ( Friday, 05 April 2019 )