CLion starts 2017.2 EAP with Clang-Tidy integration

Hi everyone,

Great news – CLion 2017.2 EAP starts now!
We had a lot of work planned for this iteration, and especially one thing that was nearly ready for 2017.1 but got postponed in the end as it required more thoughtful development and testing. Today as a part of the 2017.2 EAP (build 172.1572.3), we give you Clang-Tidy integration!

Download CLion 2017.2 EAP

As usual, you can install it side by side with your current stable CLion version, with no active subscription required.
Continue reading

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

CLion 2017.2 EAP: code analysis fixes

Hi everyone,

We are glad to announce that new CLion 2017.2 Early Access Preview build (172.2465.12) is now available. Download it from our site or get a patch-update if you are using previous EAP build.

This build addresses the following issues:

  • Incorrect code analysis when std::enable_if is used (CPP-3632, CPP-9281).
  • For GCC5/6 CLion failed to resolve STL containers with nested template type correctly in case “using namespace std” was used. That caused incorrect no matching function and other errors when accessing container’s member.(CPP-8638, CPP-9412, etc.). Please.
    note, for MinGW-W64 & GCC 6.3 the problem is still there (CPP-9796).
  • Incorrect “Declaration of const variable requires an initializer” in case of a static const field (CPP-1145) or constexpr (CPP-9340).
  • Out of memory issue (regression) when the code uses boost::property_tree.
  • Git Revert command is now available in the Git Log view. Select any number of commits and call Revert from the context menu.

And there is more! Check the full list by the link.

Download CLion 2017.2 EAP

Your CLion Team
The Drive to Develop

Posted in Early Access Preview | Tagged , | Leave a comment

CLion 2017.2 EAP: debugger fixes


A new early access build for CLion 2017.2 (172.2273.4) is available.

Debugger improvements

While inspecting arrays during debug, you might notice there was a limit of 50 elements shown by default. To see more user had to explicitly expand the next 50 elements. This was done to reduce performance issues. However, sometimes a few elements with big indexes are needed, and it’s quite tiresome to click expand several times in a row.

In order to provide a solution to the problem, we’ve added a registry value to control the default number of composite value’s children:

A few other issues were resolved in CLion’s GDB driver:

  • Debugger showed command time out when trying to attach to a non-existent local process.
  • Backslashes in program arguments on Windows were escaped incorrectly.
  • Conditional breakpoints were disabled because of the GDB bug (CPP-9336). A workaround was implemented in CLion.

Includes paths on Windows

Includes paths on Windows were fixed to support absolute paths, paths with multiple backslashes and paths related to the root of the working disk.

Find full release notes here.

Download CLion 2017.2 EAP

Your CLion Team
The Drive to Develop

Posted in Early Access Preview | Tagged , , | 5 Comments

CLion 2017.2 EAP: CMake 3.8, code analysis fixes, and more


It’s been a while since we’ve started CLion 2017.2 Early Access Program. We’d like to thank those who has already given it a try and shared the feedback on the newly added Clang-Tidy integration.

This new EAP build (172.2103.9) comes with a set of fixes and improvements, as well as IntelliJ-platform wide enhancements.

Download CLion 2017.2 EAP


CLion checks the configured toolchain by compiling a simple program and providing you with the results under Preferences/Settings | Build, Execution, Deployment | Toolchains. CLion now shows the diagnostic for the cases when errors happen. Click error label to open CMake Errors window:

Besides, CMake 3.8 was bundled into CLion.

Code analysis improvements

This build includes a couple of fixes for various code analysis false-positives:

  • Error in analysis of full specializations from variadic templates (CPP-7313)
  • Incorrect analysis of function that take parameter pack arguments and non-template arguments (CPP-7336)
  • Incorrect “Call to … is ambiguous” for member function vs. function in foreign namespace (CPP-9240)

Find in Path enhancements

In CLion 2017.1 a compact popup window with immediate preview was implemented for Find in Path. Now it has a left gutter, where you can see navigation icons and local change markers:

There were some requests to keep this popup window visible, even after the user switch focus back to the editor. So now to close the popup you have to press Esc.

Better HiDPI support on Windows

Instead of scaling IDE’s UI according to the global settings (primary display), CLion now provides each display with its own scale factor. This is done for Windows, Linux support is coming. Also font settings are adjusted automatically based on the display resolution.

Full release notes are available here.

Download CLion 2017.2 EAP

Your CLion Team
The Drive to Develop

Posted in Early Access Preview | Tagged , | 12 Comments

ACCU 2017 trip report


We’ve just returned from ACCU 2017 in Bristol, UK. Being amazed by the event I decided to share some notes here, and hope Phil will also jump in and share his impression. There are also reports by Vittorio Romeo, Simon Brand and Samathy Barratt which you might find interesting.

JetBrains booth and my talk

We’ve decided not to break the good tradition started in 2015 and as usual had a booth for Wed-Fri. We’d like to thank everyone who came for a chat or just to say hello:
Continue reading

Posted in Conference & Events | Tagged , | Leave a comment

CLion’s quick tour updated to celebrate 2 years!

Hi everyone,

CLion is two years old—a big toddler! Over this time we’ve boasted an impressive user base growth of almost 400%, which has given us all the confidence in the world to continue and improve.

Remember what CLion was capable of when you joined us? Some things have stayed unchanged, for example CLion is still CMake-only, even though CMake smart support has evolved greatly. But the rest has been impressively enhanced:

  • Support for C++14, initial support for C++17, and C11 keywords
  • Code generation options for operators and lots of new and improved code inspections & intentions
  • Microsoft Visual C++ compiler experimental support
  • Doxygen
  • Clang-Tidy (2017.2 EAP)
  • LLDB on Linux and macOS, remote GDB debug, and attach to local process
  • Disassemble view
  • Google Test and Catch
  • Python support
  • Updated Go plugin, plugin for Swift (covering Linux), Remote Host Access, and others

Did I leave out your favorite feature? Most likely I did.

It’s a good time to update our Quick Tour Video now. Phil Nash, our developer advocate, did a great job and prepared a new recording. Check this fascinating monster story:

What do you expect from CLion in the next two years? Share in the comments below! We’re listening and it sure will be interesting to see how things develop 😉

Download CLion

Your CLion Team
The Drive to Develop

Posted in Announcement | Tagged | 15 Comments

C++ team on the move! ACCU, C++Now and Sweden C++


As the CLion 2017.1 release has just passed and the Early Access Program for 2017.2 was opened recently, we are now ready for some travel!

ACCU, C++Now and Sweden C++ are planned for April and May 2017.
Continue reading

Posted in Conference & Events | Tagged , , | Leave a comment

C++ Annotated: Jan – Mar 2017

Today we are happy to share our next compilation of C++ news with you.

Subscribe to the regular C++ Annotated and be the first to get the next edition!

C++ Annotated: January – March 2017

In this edition:

C++ in 2017

The C++ ecosystem

logo-sunThis blog post about the C++ ecosystem in 2017 is worth a special mention. Written in January, it overviews nicely the main expectations and trends, and not just about the language. While C++17 is indeed the main topic for this year’s discussions (as well as the features that failed to be included and so postponed for the future), it is also about adopting new standards and libraries, and of course the community including user groups and conferences.


cpp_17As C++17 is approved, pending national body comments, there are lots of resources now where you can find the final feature list, explanatory code samples, committee meeting live threads and committee meeting trip reports. This list by Bartlomiej Filipek is quite useful as it provides code samples for each feature, lists the key compilers (GCC, Clang, MSVC) explaining the versions where the feature is supported, and links to various additional articles. It’s very detailed and includes every small change.
Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

CLion 2017.1.1 update is available


CLion 2017.1.1, the first bug-fix update for the recently released major version is now available! If you haven’t yet upgraded to CLion 2017.1, good time to do so right now.

Download CLion 2017.1.1

If you’re using CLion 2017.1, a patch-update will be available shortly.

This update addresses poorly rendered fonts on Linux, fixes to false-positives in code analysis and some Catch related issues. Full release notes are available here.

And if you are looking forward to 2017.2, check the blog post with the roadmap.

Your CLion Team

The Drive to Develop

Posted in Announcement | Tagged | 2 Comments

CLion 2017.1.1 EAP

We are glad to announce the start of Early Access Preview for CLion 2017.1.1, a bug-fix update to the recently released major CLion update. Build 171.4073.32 is now available.

You can download the build and install it side by side with the stable version of CLion. Please, note that this EAP build requires an active subscription (or you can start a 30-day evaluation period).

Download CLion 2017.1.1 EAP

This build addresses the following issues:

  • Fonts were poorly rendered on Linux (check the full JRE release notes)
  • Lots of fixes for the false-positives, like for example:
    • Override specifier in local class was highlighted as syntax error
    • Local class type was not resolved properly inside member functions
  • Several issues with Catch, including the the problem with running tests via the context menu, if the caret is located inside TEST_CASE_METHOD


Some of our users experienced a crash after update caused by a conflicting Python plugin installed. First of all, we’d like to apologize for the inconvenience and confirm that we are working on a solution to prevent such problems in the future. Also, please, make sure that “Python Community Edition” plugin (from the repository) is not installed for you and remove it if it’s still the case.
If you can’t start an IDE to remove it, remove the following folders:

  • For Linux: ~/.CLion2017.1/config/plugins/python-ce
  • For Windows: C:\Users\user\.CLion2017.1\config\plugins\python-ce
  • For macOS: ~/Library/Application\ Support/CLion2017.1/python-ce/

Correct Python support plugin for CLion is called “PyCharm Community Edition for CLion” and it goes bundled with CLion.

Full release notes are available by the link.

By the way, if you are interested in our plans for 2017.2 check this blog post.

Your CLion Team

The Drive to Develop

Posted in Announcement | Tagged , | Leave a comment