CLion 2022.2 EAP6: Updates to Quick Documentation and Better Handling of Booleans in the CMake Cache Editor
A new CLion 2022.2 EAP6 build, 222.3244.6, is available from our website, via the Toolbox App, or as a snap package for Ubuntu. If you are on macOS, there is a separate build for Apple Silicon (M1 chip). Those who are already using EAP5 can apply a patch to update to EAP6.
Updates to Quick Documentation
The Quick Documentation popup has been our main area of focus in this release cycle. Just recently we added quick documentation for CMake scripts and the values of constant C and C++ expressions, and now we’re making it possible to see the
enum value as an integer when you call up Quick Documentation:
In addition, it can be useful to see whether a given struct or class declaration supports copy and move operations, so CLion now shows this information in the Quick Documentation popup:
Better handling of boolean values in the CMake cache editor
Earlier in this EAP, we introduced the CMake cache editor. Now CLion also shows the short description in tooltips for CMake cache variables:
We’ve improved the way it shows boolean variables. CMake syntax is a bit tricky here, so in CLion we are using the following approach:
- The IDE now shows the checkbox and the actual value behind the boolean variable in the CMake cache.
- The IDE treats the following values as False:
- Empty strings
- Values that end in the suffix
In all other cases, the value is treated as True.
- When you check or uncheck the checkbox in the CLion UI, the following pairs of values are used to configure option values:
For any other values, the IDE converts the checkbox state to
- Named boolean constants are case-insensitive.
Enhanced configuration for highlighting inspections
In v2022.2, we’ve improved the way you configure your preferences for highlighting inspections.
When you want to change how an inspection appears in the editor, you can set it up using the new Highlighting in editor drop-down menu, which conveniently shows all available highlighting styles.
- We fixed several things in our Clangd-based language engine to make it more accurate and eliminate crashes.
- To fix some false-positive errors for GCC-12, we added
-fsized-deallocationto our language engine (CPP-29091).
The full release notes are available here.
Please evaluate the new enhancements and bug fixes and share your feedback with us here in comments or via the issue tracker. Thanks!
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…