

However, as this support was based on the old proposal from TC39, it has since diverged from the standard.

Support for private fields was added to WebStorm back in 2018. Refactoring support for ES2022 private class members To give it a try, place the caret on the import path, then press ⌥⏎ / Alt+Enter and select Download module. The functionality should work the same way it does in the browser. The module with all its dependencies will be downloaded and linked as a project library.

Starting from v2021.3 you can download remote ES6 modules using a quick-fix on the import path in ES6 files. Please note that the change will be less noticeable if your project mainly consists of TypeScript or other types of files.

We hope this improvement will help you to get working faster when you open a new project or do a massive Git update. In this release, we’ve managed to achieve more noticeable results, decreasing the indexing times for JavaScript files by 20%. Quite often, the changes related to performance are subtle, and you may not notice them unless you use a timer or a CPU profiler. We understand that WebStorm’s performance may not be optimal at times, so we’re constantly working to improve it. The most notable change is that automatically added imports now respect the project structure by treating each folder in the project with package.json as a separate package. This release comes with a number of improvements for working with monorepos. JavaScript & TypeScript Improved support for monorepos
