CLion 2016.2.2 EAP

Another bug-fix update to the recently released major CLion update is going to come soon. That means that today we are starting Early Access Program for CLion 2016.2.2, build 162.1889.3 is now available.

Code style: label indentation settings

This build brings settings to control label indentation. Find them in Editor | Code Style | C/C++ settings, Tabs and Indents group:
label_indent

Autocompletion for directives

The autocompletion for directives was improved. Now you get the list right after typing the # symbol:
directives_completion

C11 keywords

We’ve started working on C11 support and decided to provide some fixes with 2016.2.2 update. Previously some C11 keywords (_Thread_local, _Alignas, _Noreturn, _Static_assert, _Atomic) were not supported in CLion and caused false ‘red’ code errors. Starting from this build CLion’s parser can handle such keywords correctly:
static_assert

There are more tasks related to C11 support that are currently under development and will most likely be available along with 2016.3 EAP: _Generic keyword support (CPP-2120) and code completion for C99 and C11 keywords (CPP-7272).

Inspections bug fixes

CLion’s inspections are useful to detect possible problems and inefficiencies on the fly, before you even compile the code. We are constantly working on their improvements, making them more accurate and correct. A couple of false-positives were fixed in this build:

  • In case of several function prototypes, CLion warned about parameters mismatch because wrong prototype was selected by code inspections (CPP-6078). This build brings a fix for the problem.
  • Incorrect duplicate case error (CPP-3049) was addressed in this build.

Reporting debugger errors

Some errors were not reported on debugger startup that made the diagnostics hard. For example, GDB/LLDB pretty printer initialization problems. Now such errors are reported correctly in CLion.

Full release notes are available by the link.

You can download the build here and install 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).

Your CLion Team

JetBrains
The Drive to Develop

This entry was posted in Early Access Preview and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *