CLion 2018.1 EAP: CMake 3.10, Google Test with MSVC and C++ support improvements

Anastasia Kazakova

Hi,

The new CLion 2018.1 EAP, build 181.3986.16 is now available! Get it from our site or via JetBrains Toolbox App. Or, if you have the previous EAP build (181.3870.21) installed, you should soon get a notification in the IDE about a patch update.

Download CLion 2018.1 EAP

C++ support

In this build we’ve fixed an incorrect ‘Can’t resolve constructor’ error that happened in some cases when using = ... statement was used. It now works correctly in CLion:
constructor_using

Besides, this EAP build addresses several regressions:

  • Incorrect Can’t access class error (CPP-11393)
  • Incorrect Incompatible types in initializer error in some cases (CPP-11407)
  • Failed resolve of the structure’s member in case of typedef before the declaration (CPP-12046) and some other cases (CPP-12082)

Google Test with MSVC

CLion integrates with Google Test, Boost.Test and Catch frameworks. In this EAP build we’ve fixed an issue with Google Test output not handled correctly in case the Microsoft Visual C++ compiler toolchain is used.

CMake 3.10

Bundled CMake was updated to v3.10. As a side effect, minimum supported Cygwin version was set to 2.8.

That’s it! Full release notes are available by the link.

CLion 2018.1 EAP: quick overview

Here is a quick reminder of the main changes we’ve already made to CLion 2018.1 EAP:

  • Windows Subsystem for Linux support in CLion (with debug support and Valgrind Memcheck)
  • Support for if and switch with initializers from C++17
  • Code folding of the control statements
  • Ability to open single file/folder in CLion, load and unload CMake actions
  • Support for CMake Install
  • Support for Clang-Tidy options and configs
  • Objective-C/Objective-C++ support
  • Partial commits in Git
  • And many others changes and improvements

Feel free to share your feedback with us and suggest a new feature or report a problem in any way that’s convenient for you: this blog post (in comments), the issue tracker, or Twitter (@clion_ide).

Download CLion 2018.1 EAP

Your CLion Team
JetBrains
The Drive to Develop

Comments below can no longer be edited.

27 Responses to CLion 2018.1 EAP: CMake 3.10, Google Test with MSVC and C++ support improvements

  1. Tano says:

    March 2, 2018

    Anastasia, another question pls: clang-tidy providedi in the package is the LLVM original or JetBrains fork? If fork, what are the differences? thanks

    • Anastasia Kazakova says:

      March 2, 2018

      It’s LLVM original, we’ve contributed a few patches to the LLVM repo, however.

      • Tano says:

        March 2, 2018

        Nice, I saw that you are using version 7 (which is in progress) instead of stable 5 or the 6 (which will be released this month).
        TBH I don’t understand LLVM, 6 is not released yet but in the clang-tidy documentation it’s written version 7.

  2. Tano says:

    March 2, 2018

    “External tools” are project based or something?
    Because after the update, it seems that all are lost…:(((

    • Anastasia Kazakova says:

      March 2, 2018

      What exactly is lost?

      • Tano says:

        March 2, 2018

        My custom external tools

        • Anastasia Kazakova says:

          March 2, 2018

          Do you mean they disappeared from the Run Configuration or completely?

          • Tano says:

            March 2, 2018

            They dissapeared from the Tools-External Tools and also from Settings-Tools-External Tools

            • Anastasia Kazakova says:

              March 2, 2018

              We’ll try to reproduce and will be back to you.

            • Anastasia Kazakova says:

              March 2, 2018

              Seems we failed to reproduce, so could you please create a ticket with detailed steps, product versions and idea.log?

          • Tano says:

            March 2, 2018

            Not now sorry, I am very concerned with CPP-12250, it worked perfectly until now, I can reproduce it also with 2017.3, I don’t know when this is broken, now my project is unusable with CLion, I had to switch back to Eclipse 🙁
            Perhaps I will try with 2016.3

            • Anastasia Kazakova says:

              March 2, 2018

              We’ll take a look

  3. Henry says:

    March 3, 2018

    Always get so excited about every single update. Only features I really want now is MSVC debugging (to help with writing Windows Python extensions) and CTest integration. Every other feature is just a nice addition and makes my CPP coding experience better.

    Great job at keeping me a happy CLion user.

    • Anastasia Kazakova says:

      March 4, 2018

      Thank you!

  4. Christian Wieden says:

    March 6, 2018

    Any chance this will be supported in CLion directly?

    http://blog.llvm.org/2018/03/clang-is-now-used-to-build-chrome-for.html

    Because it seeam very mature.

    Best Regards

    • Anastasia Kazakova says:

      March 6, 2018

      What do you mean by supported?

  5. Tano says:

    March 6, 2018

    Question: how do I copy Inspections settings from one project to another?
    I tried to export/import all settings but it doesn’t seem to work.

    • Anastasia Kazakova says:

      March 6, 2018

      What you’ve exported/imported was the whole IDE settings. However, in this case, you need to configure the custom inspection profile (you can duplicate existing default one with some settings introduced by you), save it under some custom name and select for another project.

      • Tano says:

        March 6, 2018

        Thank you, I saw an Inspections checkbox in the whole IDE settings, I thought it works, it’s strange that I have to export (at least) 2 things. I can live with that.

      • Tano says:

        March 6, 2018

        And btw, in this latest EAP I get A LOT “Typeahead timeout is exceeded: 10002”, I submitted a lot, the last is “Submitted as 1830487.”

        • Anastasia Kazakova says:

          March 6, 2018

          Thanks. We’ll check

  6. Sergiy Yevtushenko says:

    March 7, 2018

    Would be great to see support for Scons-based builds. There are several popular libraries for embedded C++ development which are based on scons – platform.io, xpcc, stm32plus, just to name a few.

    • Anastasia Kazakova says:

      March 7, 2018

      Platform.io is compatible with CMake as far as I know.

  7. M.H. says:

    May 19, 2018

    Hi, Why i cant debug with MVS compiler?! I get the following error. Debugging is not yet supported with Visual Studio

    • Anastasia Kazakova says:

      May 21, 2018

      Indeed. Debugger for MSVC is not yet implemented (and we can’t integrate with MS debugger).

Subscribe

Subscribe for updates