CLion 2016.3 EAP: digit separators support

Posted on by Anastasia Kazakova

Hi,

Another week brings another EAP build, 163.4830.5. Read the highlights below and give it a spin. As usual, your feedback is welcome in the comments section below and in our tracker.

Digit separators, C++14

Since C++14 number literals may use single-quote character as a digit separator. This makes it easier for developers to “parse” large numbers while reading the code. CLion can parse it correctly now as well:
digit_separator

sizeof() analysis fixes

CLion evaluates sizeof() expressions in your code and uses the result in the code analysis. However, in some situations the calculation was wrong, which brought the false-positives (CPP-4432). This EAP fixes the problem, taking into account the specific of the platform you are compiling for. (By the way, do you think platform-dependant code analysis should be on by default? Share your thoughts with us!)

Other fixes

Other fixes include:

  • Import project functionality (for those who don’t have a CMake project and still want to try CLion) was accidentally broken in EAP. Now it’s back.
  • Quick Documentation didn’t work in case of not exported functions (CPP-7446).
  • Several fixes for CMake output window (CPP-7505, CPP-7507).

Full release notes are available by the link.

Download the build or get a patch update in case you are using previous CLion EAP, build 163.4396.13.


Download CLion 2016.3 EAP

Your CLion Team

JetBrains
The Drive to Develop

Comments below can no longer be edited.

13 Responses to CLion 2016.3 EAP: digit separators support

  1. crod says:

    September 21, 2016

    Updating symbols is painful, when modifying CmakeLists.txt. It is barely usable.

    Could this be done *in memory*, and then flushed to disk in a background thread, or similar speed ups. Changing one CMAKE variable, and waiting two minutes, on a relatively small C++ project on an SSD, with 48 cores and gigs of RAM, on a server class machine I use to develop, seems like a long time when editing code.

    • Anastasia Kazakova says:

      September 21, 2016

      Could you please submit some logs to us when the problem happens. We’ll investigate it in details.

      • Tom Kulaga says:

        September 22, 2016

        Imagine on a laptop with 2 cores!

        I’ve run Clion on a 2 Windows desktops(one was i7 2600 with SSD ,one was E6500 with HDD) and a Linux laptop i5U dual core.

        On both Clion choked the CPU, the Desktop I7 could handle it, but I heard the fan blast on. The Windows desktop slows down and the linux machine, clion is unsuable.

        Can you guys run it up on your machines and see how it runs?

        You can email me for me info

        • Anastasia Kazakova says:

          September 22, 2016

          Does this happen during initial indexing or all the time?
          To investigate we need IDE logs and CPU snapshots (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems). Such problems usually depend on the project and not easily reproducible without it or at least some snapshots and logs.

          • Tom Kulaga says:

            September 22, 2016

            Alrighty. I’ll try and get some to you.

            • Anastasia Kazakova says:

              September 22, 2016

              Thanks

          • HGH says:

            September 24, 2016

            PyCharm and Android Studio are great featurewise even though I prefer more classic project/IDE structure like in Visual Studio and QtCreator. But the IDEA based IDEs performance is abysmal especially on lower end machines.

            I don’t know if the average Java developer uses a 32Gb dual CPU Xeon PC but on all laptops I used these IDEs performance was poor.

            • Anastasia Kazakova says:

              September 26, 2016

              Could you please first check that there is enough memory for the IDE by enabling the memory indicator in Settings | Appearance & Behavior | Appearance | Show memory indicator? If memory usage is ok, then get a CPU snapshot when you experience the poor performance (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems) and submit it to our support. We’ll investigate and check if there is any bug/problem that we can fix.

      • Anastasia Kazakova says:

        September 22, 2016

        CPU snapshots are also useful (https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems).

  2. Sebastian says:

    September 21, 2016

    Hi Anastasia,

    Regarding your request for feedback of the sizeof analysis. It would probably be most useful if the sizeof calculations would consider all possible platforms and report if there was an issue on at least one of them. But I am not sure how much CPU time that would require.

    • Anastasia Kazakova says:

      September 21, 2016

      Thanks. How to build a list of “all possible platforms”? What should be included?

  3. HGH says:

    September 24, 2016

    Could you please implement some c++17 syntax soon like nested namespaces (supported by all compilers now) and maybe the structured bindings (supported by none). Please keep ahead by what clang is supporting as others follow soon after that. Our code is cross platform.H GH

Subscribe

Subscribe for updates