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


Meta Releases OpenSource Podcast Generating Tool
28/11/2024

Meta has released an open source project that can be used to automatically convert a PDF file into a podcast. Meta says Notebook Llama can be considered an open-source version of Google's NotebookLM.

 [ ... ]



Programmer Gifts - Pi For Xmas
13/12/2024

The holiday season is a good time to learn about computers - you have the time. But where to start? Our advice is to ignore the pudding and go for a Pi.


More News

espbook

 

Comments




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

Last Updated ( Friday, 05 April 2019 )