Early Access Program

WebStorm 2016.2 EAP, 162.844: convert to arrow function, custom background

Fresh WebStorm 2016.2 EAP build (162.844) is now ready! You can download it here or, if you have installed the previous WebStorm 2016.2 EAP build (162.646), you should soon get a notification in the IDE about a patch update.

Convert to arrow function

We’re now working on a set of intentions that will help you to convert your code to ES6. In WebStorm 2016.1 we’ve introduced Convert to ES6 template string action. And the new intention that is now available is for converting to arrow functions.

For example, you can convert a  callback function to arrow function by hitting Alt-Enter on the function keyword:

to-arrow-function

You can also convert arrow function to a shorthand arrow function:

to-shorthand-arrow-function

We’d be very happy to hear your feedback on that! In the next WebStorm 2016.2 EAP builds we’re planning to highlight the code which can be converted and allow bulk fixes across the project files.

Improvements in Git support

First, the VSC log (in Git and also Mercurial) now updates in the background immediately after every change (e.g. commit, fetch, rebase, etc) –  now it should be fully loaded right when you open it, you don’t have to wait for it to update. Moreover, the progress bar has also been improved.

Second, WebStorm 2016.2 fixes the issue the with the case-only renames in Git for Windows and OS X.

Custom background

Last but not least, you can now set a background image for the IDE. Hit Shift-Cmd-A to invoke the Find action dialog and search for Set Background Image. You’ll be offered to select the image file, set the opacity of the image and preview the result.

The full list of issues is available in the Release notes.

Read about the features and improvements added in previous WebStorm 2016.2 EAP builds:

  • WebStorm 2016.2 EAP, 162.646: Integration with Angular CLI and new Angular 2 live templates. Support for fonts with ligatures. Debugging in Firefox 36+. Option to run build tasks before Run and Debug.
  • WebStorm 2016.2 EAP, 162.232: Working with patches in VCS is now easier. Drag images, JavaScript or CSS files into an HTML file in the editor to generate src, script or link tags for them. New .let and .const postfix templates have been added.
  • WebStorm 2016.2 EAP, 162.74: Improved React support (coding assistance for props, auto imports for components in TSX, and more), smarter support for enums in TypeScript, and improved Dart support.

Please share your feedback and report any issues to our issue tracker. To get notifications of new EAP builds as they become available, subscribe to the EAP channel in Preferences | Appearance & Behavior | System Settings | Updates.

Your WebStorm Team

image description