Early Access Program News

CLion 2024.3 EAP 5: Support for the Call Hierarchy in CLion Nova and the New Project Status Widget

A new CLion 2024.3 EAP build, 243.20847.43, is out. You can download it for free from the link below, via the Toolbox App, or as a snap package if you’re using Ubuntu.

DOWNLOAD CLION 2024.3 EAP

This build introduces two major features: support for function call hierarchy in CLion Nova and a new project status widget in the status bar, replacing the banner notifications in the editor. Some important bug fixes also improve the debugger and CMake project behavior.

Support for the call hierarchy in CLion Nova

Function call hierarchy support was one of the most requested features in CLion Nova (CPP-22675), and we’ve added it in this EAP build. The call hierarchy is available in the Hierarchy tool window, showing all the places where a given function is used, caller and callee hierarchies, new icons to indicate recursive calls, and more.

Call hierarchy tool window

This feature helps you better understand how your functions interact. It’s particularly handy when you’re working on projects with multiple functions that call one another non-trivially. The call hierarchy is also useful as a debugging aid. For example, when you make changes to functions, you can easily see the impact of those changes.

To view the call hierarchy, select a function in the editor, and then choose Navigate | Call Hierarchy from the main menu or use the shortcut ⌃⌥H (macOS) or Ctrl+Alt+H (Windows/Linux). To learn more about other code hierarchies available in CLion, see this web help article.

Project status widget

Project status notifications inform you of potential problems with your project configuration and offer ways to resolve them. In version 2024.2, they are displayed as yellow banners in the editor until the problem is resolved.

We’ve received a number of complaints suggesting that these notifications are irrelevant in various use cases. For example, some users just want to open a .cpp file from a third-party project to test or read the code. Some deliberately use a build system that CLion doesn’t support. In such cases, it makes no sense to have a notification banner hanging in the editor all the time. So, we’ve decided to make these notifications less distracting by moving them from the top of the editor to a new widget in the status bar.

New project status widget

Now, if you create a new .cpp file in your project, for example, the ⚠️ icon will appear. The notification that your file doesn’t belong to any project won’t appear until you hover over the icon. When you click on the icon, the widget will offer to add the file to the CMake project. If you don’t need it, you can close the pop-up, leaving only the icon in the status bar. Additionally, when the widget sees a Makefile, Bazel, or compilation database file, it gives you the option to load the corresponding project.

Other improvements

A couple of bug fixes are also worth highlighting:

  • When attaching to an unstarted process while debugging, the IDE now only selects processes that belong to the current user. This prevents situations where you accidentally try to attach to someone else’s process and get an error.
  • Reloading a CMake project using the Reset Cache and Reload Project option no longer results in an error when the FTP/SFTP/WebDAV Connectivity plugin is disabled.

DOWNLOAD CLION 2024.3 EAP

Call for feedback

Your feedback is important to us, as your experiences and insights are essential to our mission of continuously improving CLion. Please share your ideas in the comments section below or submit them to our issue tracker. We would also be interested in setting up a quick call with you to learn more about your specific use cases. Let us know if you would like to participate!

Your CLion team
JetBrains
The Drive to Develop

image description

Discover more