CLion 2018.3 Release Candidate

Hi,

Please welcome the first Release Candidate for the upcoming CLion 2018.3!

Get the build (183.4284.104) from our website or use Toolbox app or snap packages (in the case of Ubuntu) to update. A patch-update will be available shortly for those using the previous EAP build. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 RC

Here are some of the highlights:

  • For CPU Profiling on macOS we’ve fixed the “No data profiler” error, which happens in some cases.
  • Regression with an “Optimise Imports” action working incorrectly in case of the Clangd-based engine enabled.
  • Local build directory is no longer synchronized to the remote host (is added to Excluded paths automatically now).

Full release notes are available by the link.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , , | 3 Comments

CLion 2018.3 EAP: clangd-based navigation and search, CPU Profiler and remote mode improvements

Hi,

Please welcome a new CLion 2018.3 EAP (build 183.4284.40)!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build.

No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

Clangd-based navigation and search

In CLion 2018.2 we’ve introduced an experimental complementary language engine, based on Clangd. Initially it worked only as an error annotator, providing code errors and warnings in the editor. Now it’s also used by CLion for some navigation and search actions:

  • Go to declaration (Ctrl+B on Win/Lin, ⌘B on macOS) / go to definition (Ctrl+Alt+B on Win/Lin, ⌥⌘B on macOS).
  • Highlighting references under caret.
  • Quick Documentation popup (Ctrl+Q on Win/Lin, F1 on macOS)
  • Find Usages (Alt+F7) – it uses Clangd-based engine to search through the files opened currently in the editor and CLion’s own engine for all the other usages.

CLion’s own engine is still in use for all the actions not listed above and also for the cases when Clangd-based engine fails. Besides, CLion adjusts the results it gets from Clangd in some cases (for example, it goes to the constructor not class declaration, when navigating from the constructor call).

Clangd-based language engine in CLion is turned on by default on all platforms. You can change the default configuration in Settings/Preferences | Languages & Frameworks | C/C++ | Clangd:
clangd_preferences
Note that if you’d like to turn off the Clangd-based engine completely in CLion, you need to uncheck all the options in this dialog.
Continue reading

Posted in Announcement, Early Access Preview | Tagged , , , | 21 Comments

CLion 2018.3 EAP: various fixes

Hi,

Please welcome a new CLion 2018.3 EAP (build 183.4139.25)!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build.

Thanks to our users, we’ve noticed that a week ago a patch update wasn’t uploaded properly. We are sincerely sorry for that and will upload the patch for the previous EAP build this time as well. We’ll do our best to avoid such situations in future.

No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

This build brings the following improvements:

  • Load CMake Project action failed if project was opened as directory. This happened in particular on projects created from Unreal Engine editor. Now such projects can be opened successfully.
  • When using Remote Development from Windows machine or WSL toolchain, custom GDB path was reset to default every time the dialog was closed. This is fixed now.
  • Valgrind Memcheck default configuration in CLion was updated to work properly with Valgrind v3.13.
  • On macOS Mojave the input is no longer freezing after pressing key-selector (JRE-998).

By the way, talking about macOS 10.14 Mojave, GDB currently doesn’t work there (CPP-14546). We plan to investigate the issue as soon as possible. But until that, please use LLDB on macOS.

Full release notes are available here.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement, Early Access Preview | Tagged , , | 26 Comments

CLion 2018.3 EAP: fixes for remote dev, CPU profiler and Markdown plugin

Hi,

Please welcome a new CLion 2018.3 EAP (build 183.3975.20)!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

This build brings the following improvements:

  • Remote development on Windows: fixed an issue when CLion can’t find standard library includes because of a specific tar compression.
  • Small UI improvement for CPU Profiler integration: Profile action in the run icon in the left gutter was updated to include a missing underscore to separate different words in the target name.
  • Markdown plugin got a fix for an IDE freeze on Linux caused by a Markdown file (IDEA-200822).

Full release notes are available here.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement, Early Access Preview | Tagged , , | 11 Comments

C++ Annotated: June – September 2018

Hi,

A new edition of C++ annotated brings you a collection of the most important and engaging news from over the last 4 months that you should definitely check out. In this edition:
800x320_Twitter_card

Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

CLion 2018.3 EAP: remote development on Windows, high-contrast theme and other platform improvements

Hi,

The new CLion 2018.3 EAP (build 183.3795.17) is now available!

If you have the previous EAP build installed, simply get a patch-update right in the IDE. Or use Toolbox App or snap packages (in the case of Ubuntu) to get this update. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

Remote toolchain support on Windows

CLion 2018.3 EAP introduced initial remote development support. Now it’s possible to use Windows as a local machine, in addition to Linux and macOS.
remote_host_windows

A few things are worth mentioning:

  • Because of the IntelliJ platform issue with case sensitivity, you need to add property (Help | “Edit Custom Properties…”) idea.case.sensitive.fs=true, restart CLion and rebuild the project index (File | “Invalidate Caches and Restart”) after that.
  • On Linux and macOS CLion uses rsync to synchronize sources. On Windows CLion relies on tar and CLion’s own Remote Host Access utilities, and it seems to be slower than native rsync on macOS and Linux (CPP-14440).

Continue reading

Posted in Announcement, Early Access Preview | Tagged , , , | 40 Comments

CLion 2018.3 EAP: profiling tools on Linux and macOS and multiline TODO

Hi,

The new CLion 2018.3 EAP (build 183.3647.14) is now available for download!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

CPU Profiler

Starting from this EAP, CLion comes with the CPU Profiler integration on Linux and macOS. With Perf on Linux and DTrace on macOS you can now analyze the performance of your application (both, kernel and user’s code) right in the IDE.

To run the profiler use a new button in the navigation toolbar or a new action in the run menu, which appears when you click on a run icon in the left gutter:
run_profiler

The results of the profiling is shown in the CPU Profiler tool window (View | Tool Windows | CPU Profiler):
profiler_toolwindow

Continue reading

Posted in Announcement, Early Access Preview | Tagged , , , | 27 Comments

JetBrains C++ team at CppCon 2018: trip report

Our C++ team is on its way back home from Bellevue, Washington, where CppCon was held during the last week of September. While our memories are still fresh, we’d like to share our impressions of this year’s installment of CppCon.

cppconAs the biggest and most global C++ event, CppCon gathers attendees from all over the world and unites C++ developers of all levels of knowledge across many areas. Classes, sessions, panels, podcast recordings, lightning talks, open-content sessions, exhibition tables, posters – all these different formats help participants share their knowledge of all aspects of C++ development.

IMG_0072This year was unique for many reasons. First, the conference finally outgrew the maximum space available in Bellevue, and that’s why next year’s CppCon will move to a new place in Aurora, Colorado, a city near Denver. We all felt a little sad about leaving the Seattle area and spent the week trying to capture all the good memories of this place.

Second, several new formats entered the program including Lightning Challenges and Tools Time.

Third, the organizers opened the first floor to companies who’d like to communicate more closely with the C++ developers at the event.

There were many more points that made us think this CppCon was a huge success. Let’s talk about some.
Continue reading

Posted in Conference & Events | Tagged , , | 4 Comments

CLion 2018.3 EAP: new build and rebuild actions

Hi,

The new CLion 2018.3 EAP (build 183.3283.6) is now available for download!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

New Build menu

In this build we’ve addresses a family of requests for various build/rebuild actions for particular targets or whole project by adding a new Build menu with new and updated options:
build_menu

These are the available options for CMake projects:

  • Build Project – a new action which builds CMake all targets from all CMake Profiles configured for the current project:
    build_project
  • Build All in <selected CMake Profile> – a new action which builds CMake all target from the selected CMake Profile
  • Build <selected configuration> (Ctrl+F9 on Linux/Windows, ⌘F9 on macOS) – an old action which builds the selected Run configuration
  • Recompile current file (Shift+Ctrl+F9 on Linux/Windows, ⇧⌘F9 on macOS) – recompiles currently opened file or a group of file, if selected in the Project View
  • Install – works as before, runs cmake install on your project
  • Rebuild Project – a new action which calls Clean and then Build Project
  • Rebuild All in <selected CMake Profile> – a new action which calls Clean and then Build All in <selected CMake Profile>
  • Rebuild <selected configuration> – a new action which calls Clean and then Build <selected configuration>
    rebuild_configuration
  • Clean – works as before, cleans the project

As a side effect of these changes Build All run configuration is not created for the new projects anymore (previously CLion was automatically creating it). Build Project action serves as the most global build action as it doesn’t require any CMake Profile or Run configuration to be selected in advance.

Finally, we’d like to remind you that CMake Profiles can be configured in Settings/Preferences | Build, Execution, Deployment | CMake. And you can switch between them later in the Run/Debug configuration switcher:
configuration_switcher

Find the full release notes by the link.

CLion 2018.2.5 EAP

A preview build for CLion 2018.2.5 bug-fix update is also available. Download build 182.4892.4 from our confluence page or wait for a patch-update. Please, note that this EAP build requires an active subscription (or you can start a 30-day evaluation period).

This EAP build brings the following fixes:

  • Creation of the GitHub token fails in some cases when the name already exists (IDEA-198120)
  • Deleting with Backspace merges lines by mistake (CPP-13177)

Full release notes are linked here.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement, Early Access Preview | Tagged , , , , , | 12 Comments

CLion 2018.3 EAP: fixes for remote dev and more

Hi,

Please welcome a new CLion 2018.3 EAP (build 183.2940.13)!

As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build. No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.3 EAP

Last week CLion 2018.3 Early Access Program started with the Initial Remote Development support. This week a new build is available and it addresses an issue with the symlinks used in header search paths (CPP-14211).

Talking about the header search paths, we’ve also fixed an issue with searching through the user and libraries header search paths:

  • #include <..> now looks for the header files in the libraries only.
  • #include ".." first looks in the user’s search path, then in the libraries

This fix actually means that the user header file shouldn’t hide a library header by mistake.

There are also several UI fixes across the whole IntelliJ platform, like for example drawing characters in Monospaced font was fixed (JRE-847).

Full release notes are available by the link.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement, Early Access Preview | Tagged , , | 8 Comments