A new Early Access Preview build for WebStorm 2017.1 (171.3566) is available! Please download it here. You can install it side-by-side with your current stable WebStorm version. Or if you have the previous EAP build from the last week, you should soon get a notification in the IDE about an available patch update.
Auto import for React components
WebStorm now suggests you code completion for React components defined in the app (excluding stateless components) and automatically adds an import statement for them.
In addition to that WebStorm warns you if you’re using JSX in your file, but forgot to import React. The warning is shown for a first JSX tag in this file. Hit Alt-Enter on it and select Insert import * as React from ‘react’.
Module dependency diagram
You can now visualize the module dependencies a file or a folder has. To do that right-click on a file or a directory in the project view or in the editor and select Diagrams – Show diagram.
From the diagram you can navigate to the depended file – right-click on the file and select Jump to source.
Updated Find in path dialog
The Find in path dialog has been updated – it became much simpler and it now shows search results and their preview instantly.