CLion 2022.1 EAP2: Remote Development with Space Dev Environments, More Accurate Code Analysis, New Formatter Options for Structured Bindings
Hi,
A new CLion 2022.1 EAP build is available now! If you haven’t yet tried the new version, now is a good time to do so. Build 221.4165.77 is available from our website via the Toolbox App or as a snap package (if you are using Ubuntu). Note that if you are on macOS, there is a separate build for Apple Silicon (M1 chip).
Those who are already using EAP1 can apply a patch to update to EAP2.
Remote development with Space dev environments and projects warm-up
Have you already tried the new remote development workflow in CLion? You can learn how it works in CLion in this blog post. In the first 2022.1 EAP we bundled the Gateway functionality into CLion. And now another valuable part of the new remote development workflow has been added to CLion. Cloud dev environments featured in Space can now be used with CLion. Dev environments are virtual machines running on the Space cloud. You can now use these machines for software development instead of your local one. Check out these blog posts for more technical details and a brief video overview:
- Introducing Support for More IntelliJ-Based IDEs in Space Dev Environments
- A Deep Dive Into Space Dev Environments
By using dev environments you can:
- Speed up onboarding with standardized environments.
- Get a ready-to-use IDE in seconds with prebuilt snapshots.
- Centralize the management of your dev environments.
- Save resources with automatically hibernating dev environments.
- Work on several tasks simultaneously.
- Collaborate on code with your teammates.
The warm-up feature now also works for CLion. Learn more in our documentation.
Notable fixes and enhancements
- For library files, CLion no longer shows the This file does not belong to any project target notification (CPP-27963).
- C++ code analysis is now more accurate and faster. Just to mention a few improvements:
- “Condition is always false/true” checks now work correctly with types and narrowing conversion (CPP-18639, CPP-27516).
- CLion no longer marks fields as unused if they have nontrivial destructors (CPP-22442).
- False warnings in template class are removed (CPP-27004).
- Several performance optimizations were applied to Data Flow Analysis.
- Incorrect Clang-Tidy results that occur when the WSL toolchain is used are now fixed by executing Clang-Tidy inside the WSL itself.
- C++ code completion:
- Inlay Hints:
- Hints for array indices can now be disabled if you don’t need them:
- Hints for
emplace
,emplace_front
andemplace_after
were added.
- Formatter:
- New formatter options for structured bindings were added to Spaces.
and Wrapping and Braces sections:
- New formatter options for structured bindings were added to Spaces.
The full release notes are available here.
Your CLion team
JetBrains
The Drive to Develop