CLion 2021.1.1 Bug-fix Update: Fixes for CUDA, Remote Projects, Code Completion, and Navigation
A bug-fix update for CLion 2021.1 is now available.
The first bug-fix update (build 211.7142.21) for the recently released CLion v2021.1 is now available on our website, via the patch-update, in the Toolbox App, or as a snap (for Ubuntu).
The highlights include:
-
In code assistance and navigation:
- Fixed the regression that resulted in slow code completion (CPP-24744).
-
Fixed the problem with compiler information collection failing and leading to code assistance not working (CPP-24777). The problem occurred if PCH files were passed via “
--include=...
”. - Fixed the problem with corrupted indexes that caused Find In Files to show no results (IDEA-266391).
-
Added a new intention to add/remove braces in
if
,for
,while
, anddo-while
statements.
-
Clangd fixes:
- Fixed a problem with Clangd settings that failed to open in some cases (CPP-24742).
- Fixed an issue with Clangd greedily allocating all the memory and freezing the system.
- For CUDA projects:
- We’ve added a few new MISRA checks and fixed a Clangd crash caused by MISRA-related code analysis.
-
For remote projects:
- CLion no longer ignores the clion.remote.resync.system.cache registry flag for Makefile projects (the flag specifies if CLion should always re-sync header roots upon project reload) and the Resync with Remote Hosts action is now also available for Makefile projects.
- If there are directories on a remote host containing files that the remote toolchain user does not have read access to, the synchronization doesn’t fail now and CLion still tries to synchronize at least the files that the user can access (CPP-24792).
- Fixed an issue with ASCII combination (Alt + Numpad) entered in the editor but not working as expected (IDEA-260888).
- Fixed the modal dialog freezes on macOS Big Sur (IDEA-256329).
New plugins
A few new plugins were bundled into this version. Grazie provides intelligent spelling and grammar checks for text that you write in the IDE. To use it in C++ files, turn the grammar checks on in Settings/Preferences | Editor | Proofreading | Grammar:
To add consistent copyright notices throughout your codebase, rely on the Copyright plugin. Find the settings in Settings/Preferences | Editor | Copyright. Learn more in our webhelp.
You can find the full release notes here.
If you haven’t yet updated to v2021.1, now is a great time to do so. Stay tuned for the 2021.2 roadmap!
Your CLion team
JetBrains
The Drive to Develop