Early Access Program

CLion EAP news: CMake 3.1, STL renderers in debugger, PTY and more

Hi everyone,

Today we are extremely excited to present you a new CLion EAP build. It’s been some really busy weeks for our team, and we can’t wait any longer. Download the new build from our confluence page right away, and share your feedback with us. We’re eager to know what you think!

CMake 3.1
The long-awaited feature has arrived – CLion includes bundled CMake 3.1.2 now! This is done for all platforms, including Cygwin case on Windows (thus Cygwin users can select between old CMake from Cygwin packet or CLion’s bundled version). Feel free to report any issues with it to us.

In this build we’ve also reviewed toolchains’ supported versions. To make it short here is the list of tools with supported versions you need with CLion:

  • CMake 2.8.11-3.1.*, make
  • GCC/G++ or Clang on OS X and Linux, MinGW 32/64 3.* or Cygwin 1.7.* on Windows
  • GDB: 7.8.*

GNU STL renderers
You can now benefit from STL renderers in the CLion’s integrated debugger in case you are using GCC. In case of Clang it works for libstdc++ only. Set the CMAKE_CXX_FLAGS in CMakeLists.txt to use it:
set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -stdlib=libstdc++”)

Now you are able to inspect the STL containers during your debug session:
stl_render_debug
This feature is switched on by default, you can switch it off in Preferences/Settings | Build, Execution, Deployment | Debugger | Enable GNU C++ library renderers.

PTY in CLion
CLion uses PTY as an I/O unit now (while running your project, not debugging). And that means that many problems associated with standard input/output should have gone. CLion still mixes the order of stdout and stderr that causes some inconveniences, however huge improvement was made in general.

On Windows some side effects and problems are more probable because of the lack of PTYs on Windows and the workaround used to resolve this. Please, report any issue you meet with I/O.

In case of big inconveniences or problems feel free to switch it off. In Find Action dialog type Registry and untick run.processes.with.pty parameter there.

Editor enhancements
This build also improves HiDPI support for Windows/Linux. Most icons and fonts are scaled proportionally, no blur appears now.
Using CLion from now try a brand-new distraction-free mode. Nothing prevents you from pure coding – no toolbars, no tool windows, no editor tabs, the code is center-aligned. To turn it on, click View | Enter Distraction Free Mode.

Synchronous tag editing in HTML and XML
If you use CLion for HTML and XML editing as well, you’ll be glad to hear that a fantastic feature has arrived – edit any tag in your code and CLion will fix the corresponding opening/closing tag for you. It’s on by default, but can be switched off in Preferences/Settings | Editor | General | Smart Keys. Follow the link to watch a small demo.

There is also a huge list of smaller fixes available in our tracker.

Waiting for your feedback impatiently,
The CLion Team

image description

Discover more