WebStorm 2021.2 EAP #6: Support for classnames and clsx Libraries
WebStorm 2021.2 EAP build #6 is now available! To catch up on all the new features, check out our previous EAP blog posts.
If you’re not familiar with our Early Access Program, check out this blog post where we explain what the EAP is and why you should take part in it. TL;DR: aside from helping steer development in the direction you want it to go, you could also get a free WebStorm license.
Below you can find the most notable improvements available in WebStorm 2021.2 EAP #6. Please try them out and share your feedback with us.
- Support for classnames and clsx libraries
- Easier customization of project icons
- GPG signature support
- Changelists renamed to Changes in new projects
- Other notable improvements
Support for classnames and clsx libraries
We’ve got another useful improvement for React users in this release. WebStorm now supports popular classnames and clsx libraries, helping you deal with your CSS class names more efficiently. The IDE will show completion suggestions for your CSS classes and resolve all symbols in string literals and properties with literal names.
The IDE will show completion suggestions for strings as you type. To see completion suggestions for objects used within your classNames functions, press Ctrl+Space.
Easier customization of project icons
Did you know you can change your project icons? You can do this in the projects list on the Welcome screen. Upload custom icons by right-clicking on any project and selecting Choose Project Icon… from the context menu. We’ve reworked the dialogue window from which you can download your SVG icon to make this process more straightforward.
GPG signature support
You can now sign your commits with a GPG key to secure them. You can enable this feature via Preferences / Settings | Version Control | Git. If it’s your first time using a GPG key, you’ll need to configure it. To use an existing preconfigured GPG key, you can just select it from the drop-down list.
Changelists renamed to Changes in new projects
WebStorm has been using Default Changelists as the name for the node that stores all uncommitted changes for quite a while now. In this release, we’ve decided to make the phrasing more precise by using the word Changes instead of Changelists. This update will be available by default in your new projects.
Also, the IDE will no longer add changelists automatically for Git operations. For example, a cherry-pick won’t trigger the creation of a changelist. If you prefer automatic creation over the new behavior, you can activate it in Preferences / Settings | Version Control by ticking the Create changelists automatically checkbox.
Other notable improvements
Here are some other important enhancements available in this build:
- To avoid security issues, we’ve increased the lowest version of Git supported by WebStorm to v2.17.
- You can now group Git branches by repository when working on them (IDEA-23245).
- WebStorm now supports the math.div() function in Sass/SCSS (WEB-51021).
- We’ve added a new Group by Inspection filter to the Problems tool window to help you analyze problems of a specific type faster. You can find it under the eye icon there (IDEA-237881).
- Code With Me recently launched two new relay servers: one on the west coast of the US and another one in South Africa. This has made the ping almost three times faster.
That’s it for the biggest highlights. For the full list of the latest enhancements available in WebStorm 2021.2 EAP #6, check out the release notes.
The WebStorm team
Subscribe to Blog updates
Thanks, we've got you!
WebStorm 2023.3 Release Candidate Is Here!
The WebStorm 2023.3 RC is now available! Read about some of the most exciting improvements making it into the release.
WebStorm 2023.3 EAP Digest #3: Angular, React, and Vue Improvements and More
Read our third 2023.3 EAP digest to learn about the latest changes in the upcoming release.
WebStorm 2023.3 EAP Digest #2: Improvements for Type Only Import, Angular, Svelte, and More
Read our second 2023.3 EAP digest to learn about the latest changes that will make it into the upcoming release.