News Releases

CLion 2021.2.1 Bug-fix Update

CLion 2021.2 was released just a few weeks ago, and you can find out what’s new in this blog post or on the website. With many debugger enhancements, support for the brand-new CMake Presets, integration with the Cling interpreter, and Lifetimes analysis working as you type your code, this release significantly improves the user experience.

We are now happy to announce that the CLion 2021.2.1 bug-fix update is out! It addresses several problems we didn’t finalize for the original release. The 212.5080.54 build is now available on our website, via the patch update, in the Toolbox App, or as a snap (for Ubuntu).

DOWNLOAD CLION

The highlights include:

  • Project model
    • The “Mark directory as excluded” action is now back in the context menu. We apologize for this regression.
    • Compiler information is now collected correctly when duplicating flags are used (CPP-25608), and also for the IAR STM8 compiler (CPP-25996).
    • We’ve fixed CMake Presets parsing when the environment variable has an env macro (CPP-25920).
  • In the debugger, several issues with visualization have been fixed for the LLDB-based debugger on Windows (for the MSVC toolchain).
  • Template parameters are no longer folded by default. If you want default folding back, enable Preferences/Settings | Editor | General | Code Folding | Fold by default | C | Template parameters.
  • Formatter
    • We’ve fixed an editor freeze caused by ClangFormat (CPP-25091).
    • The broken auto formatting of switch statements with return has been fixed (CPP-26011).
    • New options were added: Preferences/Settings | Editor | Code Style | C/C++ | Spaces | Before/After ‘for’ colon/semicolon. They control the number of spaces before/after colons and semicolons in range-based for and for loops.

You can find the full release notes here. If you haven’t yet updated to v2021.2, now is a great time to do so!

If you’re wondering what’s coming next, please check out the roadmap for 2021.3.

DOWNLOAD CLION

Your CLion team
JetBrains
The Drive to Develop

image description

Discover more