CLion 2019.1 Release Candidate is Here

Hi,

Please welcome the Release Candidate for the upcoming CLion 2019.1!

Download the build 191.6183.49 from our website, update from the Toolbox App, or through a snap package (if you are using Ubuntu).

DOWNLOAD CLION 2019.1 RC

Please note that to use CLion 2019.1 RC, you need to have an active subscription (or start a 30-day evaluation period). No patches are provided for this release candidate, but you can expect a patch from the latest 2018.3.4 update to the 2019.1 release version.

Resync with Remote Hosts

In the full remote development mode, the CLion instance runs locally and synchronizes header search paths from the remote machine to the local host (to resolve the code correctly in CLion). Previously, we’ve triggered the synchronization of the header search paths on every CMake reload, which might be a time-consuming task. Now the resync is performed only when triggered manually, by calling Tools | Resync with Remote Hosts.
The registry option clion.remote.resync.system.cache allows you to change the behavior to the previous one, if you still prefer it.

Besides that, this RC delivers the following fixes and changes:

  • Clangd memory indicator is now turned off by default and can be enabled along with the JVM memory indicator in Settings/Preferences | Appearance & Behavior | Appearance | Windows Options | Show memory indicator.
  • When MinGW is used in CLion, user input is no longer duplicated in the output window (CPP-2580). Unfortunately, the issue is still present for WSL and Remote toolchain cases (CPP-15753).

The full release notes are available here.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , , | 3 Comments

CLion 2019.1 Hits Beta

CLion 2019.1 goes Beta! To install CLion 2019.1 Beta (build 191.6183.6), download it from the website, update from our Toolbox App, or through a snap package (if you are using Ubuntu), or use a patch update.

DOWNLOAD CLION 2019.1 BETA

The Beta builds are sufficiently stable compared to the EAP builds, but some issues may still occur. If they do for you, please report them to our issue tracker. No license is required to use this build.

blog@2x

This build brings the following fixes:

  • For Embedded Development:
    • Show detailed error when OpenOCD executable isn’t correct (CPP-15466)
    • When opening an .ioc file, suggest opening as a project (CPP-15532)
  • For custom targets: when a custom target is renamed, the corresponding custom run/debug configuration is updated accordingly (instead of invalidation)
  • A few fixes for Refactorings (CPP-13822, CPP-3811)

The full release notes are available here.
Continue reading

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

CLion 2019.1 EAP: memory view and header guards style

Hi,

Introducing the new CLion 2019.1 EAP, build 191.6014.11! You can get it from our website, Toolbox App, or through a snap package (if you are using Ubuntu). The patches will be available shortly for those of you who are using the previous EAP build.

DOWNLOAD CLION 2019.1 EAP

Memory View

Hex view has been available in the debugger for a while already in the experimental mode (controlled by Registry cidr.debugger.value.numberFormatting.hex option and turned off by default). Now it’s time to introduce Memory View!

Memory View dumps the memory behind the pointer in the Debug mode. To invoke it, select a pointer variable in the debugger’s variables view and press Ctrl+Enter on Windows/Linux or ⌘Enter on macOS:
memory_view

During stepping, if you have memory view opened, CLion will highlight the memory changes that happen in the selected memory piece:
memory_view_stepping

We are still working on Memory View (including UI) and will be glad to listen to your feedback here in comments!

Continue reading

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

Webinar Recording: Remote Development with CLion

The recording of our February 28th webinar with Phil Nash is now available on the JetBrainsTV YouTube channel.

In this webinar, we took a look at some of the remote development topologies that developers work with, explaining how CLion supports them.

The video includes the time stamps:
01:06 – Intro with all the topologies briefly explained
07:53 – Remote GDB debug sample
11:30 – Remote GDB debug configuration
15:37 – Raspberry Pi demo: remote GDB debug
21:21 – Full Remote Development
26:00 – Raspberry Pi demo: full remote mode
29:50 – WSL case
32:30 – Q&A

Continue reading

Posted in Webinar | Tagged , , , , , | Leave a comment

C++ Annotated: October 2018 – February 2019

Hi!

There are dozens of great events, thousands of interesting discussions, and a huge upcoming C++ release all happening right now in the C++ world. For this issue we have included a collection of interesting and engaging stories to our regular edition of C++ Annotated, we hope you enjoy them, please let us know!

Today:
800x320_Twitter_card

Continue reading

Posted in Uncategorized | Tagged , , | 4 Comments

CLion 2019.1 EAP: Custom Targets, Fixes for ClangFormat and Extract Refactoring

Hi,

We have a new CLion 2019.1 EAP, build 191.5849.15! You can get it from our website, Toolbox App, or through a snap package (if you are using Ubuntu). The patches will be available shortly for those of you who are using the previous EAP build.

Download CLion 2019.1 EAP

Build-system independent Build Targets and Run/Debug Configurations

Starting from v2018.2 CLion supports compilation database project format (along with CMake and Gradle for C++). The main issue was that the compilation database itself lacks the information about building and thus running the whole project. So only code editing was available for it in CLion. Earlier in 2019.1 EAP, we added the ability to configure Build/Clean tools for compilation database projects (simply configure external tools and provide them in the settings as build/clean commands).

And now the next big step – we generalized the approach and added the ability to create:

  • Custom Build Targets: find them in Settings/Preferences | Build, Execution, Deployment | Custom Build Targets
  • Custom Run/Debug Configurations: check the Custom Build Application template in Run | Edit Configurations…

The main advantage is that both of them are completely independent of any build system/project model. But of course, they are most useful in the case of compilation database projects.
Continue reading

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

CLion 2019.1 EAP: CLion for Embedded Development, Part III

Hi,

Here comes a new CLion 2019.1 EAP build 191.5701.24! Get it from our website, Toolbox App, or via a snap package (if you are using Ubuntu). The patch will be available shortly if you are using the previous EAP build.

When sharing our plans for 2019, we identified Embedded development support as one of the major areas of focus for the year. Ilya Motornyy, the author of the OpenOCD + STM32CubeMX plugin, joined our team in late 2018 and has already integrated the plugin into CLion. As a result, starting with this EAP, OpenOCD debugger support and integration with STM32CubeMX is available out of the box:

Embedded dev support plugin

DOWNLOAD CLION 2019.1 EAP

Continue reading

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

CLion 2019.1 EAP: naming conventions

Hi,

Here comes a new CLion 2019.1 EAP build 191.5532.20! Get it from our website, Toolbox App, or via a snap package (if you are using Ubuntu). The patch will be available shortly if you are using the previous EAP build.

Download CLion 2019.1 EAP

Naming Convention

Naming is a non-trivial decision every developer makes daily. It can improve the readability of our code or ruin it completely. This is why naming conventions have been created: to help developers follow standard paths when selecting names for various identifiers such as global/local variables and functions, types, parameters, classes, and so on. Known libraries, game engines, and other notable pieces of code usually follow some predefined schemes their authors agree on and recommend that all contributors use as well (if the project is open source).

We’ve recently asked our followers on Twitter: “Which naming styles do you usually use in your C++ projects?”. The answers were very diverse; here are just a few:
naming_arne
naming_tweet2
naming_tweet3

The reason we asked is, obviously, our desire to improve CLion and help our users keep the preferred naming convention. This EAP showcases our first steps in this direction.

We keep listening to your feedback on Twitter and in our issue tracker (check the subtasks under CPP-15439) and plan to improve this area further before the 2019.1 release.

Let’s see what great new things you can do in CLion!
Continue reading

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

CLion 2019.1 EAP: Code highlighting with Clangd, Mute Variables in Debugger, and more

Hi,

Here comes a new CLion 2019.1 EAP, build 191.4738.15! You can get it from our site, using Toolbox App, or through a snap package (if you are using Ubuntu). The patches will be available shortly for those of you who are using the previous EAP build.

Download CLion 2019.1 EAP

Clangd: code highlighting and quick-fixes

In 2018, we announced that we would work towards a complementary Clangd-based language engine and shared our big hopes for it. First, we implemented the error annotator on top of Clangd. Later came Clangd-based navigation and search (for some actions). And the first 2019.1 EAP starts with ClangFormat support, which we also kept as a part of Clangd. Now we’ve expanded the engine with code highlighting and quick-fixes!
llvm_highlight

For users, this means editor performance improvements. For code highlighting this change is clear, but for quick-fixes, it requires a bit of explanation. The Clangd-based language engine is used to identify potential breaches in the code and show an error or a warning. Now it’s also used to provide a location for a quick-fix, while CLion covers the actual quick-fix:
Quick-Fix

Unfortunately, for various reasons, some of the quick-fixes have been removed temporarily. You can find a list of them in the tracker: CPP-15243. We’re doing our best to fix the regression and put the most valuable quick-fixes from this list back in before the release. Make sure you let us know if your favorite one is on this list!
Continue reading

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

CLion opens 2019.1 EAP: ClangFormat, Disassembly View for LLDB, and support for injected languages

Hi,

Today we are thrilled to begin the CLion 2019.1 Early Access Program! The first build is already available for download. As usual, you can download build 191.4212.38. from our site, using Toolbox App, or through a snap package (if you are using Ubuntu).

Download CLion 2019.1 EAP

The main highlights (as you probably already got from the title) include:

CLion 2019.1 EAP
Continue reading

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