News Releases

Remote Development and Code With Me for Nova, Full Line Code Completion, and Zephyr West Support Are Available in CLion 2024.2!

CLion 2024.2 is now available! This version of the powerful JetBrains IDE for C and C++ introduces several new features and improvements:

  • Full line code completion for C++.
  • Remote development via SSH and Code With Me support for the new language engine, also known as CLion Nova.
  • Zephyr West support.
  • Faster node expansion in the debugger and new GDB pretty-printers.

CLion 2024.2 is available in the Toolbox App, as a snap package (on Ubuntu), from our website, or via a patch update from version 2024.1.

DOWNLOAD CLION 2024.2

CLion Nova

Full line code completion for C++

If you’re unable to use cloud-based AI features, CLion 2024.2 introduces a new type of code completion that works locally and offers single-line suggestions based on the context of the current file.

Full line code completion is powered by language models running on your machine, ensuring no data is sent over the internet. Models for C++ come bundled with CLion. To download models for JavaScript, TypeScript, and Python, go to Settings/Preferences | Editor | General | Inline Completion.

❗️Full line code completion only works with CLion Nova, which can be enabled via Settings/Preferences | Advanced Settings | CLion | Use the ReSharper C++ language engine (CLion Nova).

Remote development

Remote development via SSH is now supported using JetBrains Gateway when CLion Nova is enabled. This feature lets you work on your projects from anywhere without compromising your development environment.

To start a remote session, go to File | Remote Development or launch JetBrains Gateway and click New Connection under the SSH Connection provider.

Code With Me

CLion 2024.2 offers Code With Me support for collaborative development, enabling real-time cooperation with team members directly in the IDE.

You can enable this functionality through the Tools menu or by using Search Everywhere (Double Shift) to call the Enable Code With Me action.

Custom сlang-format binary

You can now use an external clang-format binary instead of the one built into the IDE for greater flexibility and control over code formatting.

To provide the path to the binary, go to Settings/Preferences | Editor | Code Style | C++.

Semantic highlighting

Optional semantic highlighting uses different colors for various variables and parameters, making it easier to recognize and understand your code at a glance.

You can enable it in the settings by going to File | Settings | Editor | Color Scheme | Language Defaults | Semantic highlighting.

Project models and build tools 

Zephyr West support

Version 2024.2 introduces the West project model, which makes it much easier to set up, open, and build a Zephyr project.

West projects allow you to build and flash your project into a microcontroller without having to perform tedious actions like setting up West as an external tool in CLion and creating a custom build target for each of your Zephyr applications.

Zephyr projects opened previously as CMake ones can be reopened as West projects using the Convert to West Project action. Conversely, a dedicated action is available to convert West projects back into CMake ones.

To change the path to the West executable, board name, and build directory, go to Settings/Preferences | Build, Execution, Deployment | Embedded Development | West.

In addition to integration with West, CLion 2024.2 provides language support for the Kconfig configuration language, which is widely used in Zephyr projects, the Linux kernel, and others.

CMake 

As always, we are constantly working on improving CMake support in CLion. In this release, we significantly improved the speed of reloading a CMake project with multiple files when using a remote toolchain.

Also, the 2024.2 version of CLion introduces support for CMake 3.29, and Ninja support has also been updated to v1.12, which is necessary for showing faster build outputs without buffering.

Debugger enhancements 

The 2024.2 version of CLion is bundled with GDB version 14.2, which contains a patch written by our team to speed up variable expansion.

The debugger now also has more pretty-printers for complex data types, such as std::shared_ptr, std::array, std::valarray, std::list, and std::forward_list.

Additionally, we fixed the issue that prevented debugging on Windows using WSL with GDB Multiarch.

Next steps

The following features are still in the works and will be available in upcoming releases:

  1. We continue to work on closing the feature gap between CLion Nova and the classic language engine, implementing the most requested features, such as call hierarchy. We are also working on performance improvements for Nova, especially for large projects.
  2. To further enhance West support, we plan to add the ability to change options for the west build command and start working on debugging with West.

Call for feedback

We encourage you to give CLion 2024.2 a try. If you have an active subscription, you can update it today. If you are new to CLion, start your 30-day free trial and experience all the features and improvements right away. Your feedback is crucial! If there is anything you would like to share with us or any problems you’d like to report, please let us know in our issue tracker.

DOWNLOAD CLION 2024.2

Your CLion team
JetBrains
The Drive to Develop

image description

Discover more