CLion 2022.1 EAP6: CMake Presets, Improved CMake Scripts Formatting, and Other Fixes
The new CLion 2022.1 EAP build, 221.5080.52, is now available from our website, via the Toolbox App, or as a snap package (if you are using Ubuntu). Please note that if you are on macOS, there is a separate build for Apple Silicon (M1 chip).
Those of you already using the EAP5 build can apply a patch to update to EAP6.
CLion now automatically creates CMake Profiles for configure presets (this was only available for build presets before). This change makes the configuration process easier and lets you remove redundant build presets.
CLion now also works with the
--preset argument passed to the cmake command. The data from the preset is loaded into build type, toolchain, and build directory settings.
CMake v3.22 has been bundled into CLion.
CLion now notifies you when something has changed in the environment and the changes require clearing CMakeCache.txt and reloading the project:
The notification is typically shown after you update Xcode on macOS and your compilers are no longer available at their previous paths. Something similar might also happen for MSVC and MinGW.
CMake scripts are now formatted more accurately:
if() .. endif(),
endwhile()are aligned correctly.
- It is now possible to fold blocks for these commands.
- Brace pairing and code block highlighting are available for these commands as well.
The build also includes fixes for the following issues:
- False positives occurred in Data Flow Analysis for function calls located inside parentheses (CPP-28122).
autokeyword was highlighted incorrectly when a trailing return type was used (CPP-28440).
- A wider context than necessary was considered by the Rename refactoring when renaming a local variable (CPP-23257).
- Various issues in code completion (CPP-27816, CPP-27318, CPP-22156).
- Broken highlighting and run icon for Boost.Test 1_69_0 (CPP-28254).
The full release notes are available here.
Your CLion team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
CLion 2023.3 EAP2: Support for Device Tree Files and Meson
The CLion 2023.3 Early Access Program has just started, featuring assembly view for files, enhanced C++ data flow analysis, and other updates. The CLion 2023.3 EAP2 build is ready for you to try! With it, you can finally start working on Meson projects in CLion and benefit from device tree format s…
The CLion 2023.3 Early Access Program Is Open
We recently shared our preliminary plans for v2023.3, which we plan to release at the end of November. We are now happy to announce that the CLion 2023.3 Early Access Program (EAP) starts today! Our EAP lets the community participate in discussions devoted to our products and influence the developm…
CLion 2023.2.2 Bug-Fix Update
The CLion bug-fix update 2023.2.2 is now available! The fixes included in this bug-fix update are listed below. Download build 232.9921.42 from our website, through the Toolbox App, as a snap package for Ubuntu, or via a patch from inside the IDE. DOWNLOAD CLION This update’s main highlights includ…
CLion 2023.2.1 Bug-Fix Update
The CLion bug-fix update 2023.2.1 is now available! If you haven’t yet upgraded to v2023.2, now is definitely a good time to do so! The key enhancements in the major 2023.2 update include: The Beta version of AI Assistant is now available as a plugin with limited access. Streamlined integratio…