CLion 2019.2 Hits Beta

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

DOWNLOAD CLION 2019.2 BETA

blog@2x

Beta builds are much more stable than EAP builds, but some issues may still occur. If you find any issues, please report them to our issue tracker. You don’t need a license to use this build.

The main highlights:

  • The updated ‘Unused includes’ check no longer hangs in a batch mode (run via run inspection by name)
  • A fix for the issue with the freezing rename refactoring when invoked from the context menu (CPP-16768)
  • A fix for the code highlighting disappearing after a file was saved when the parameter name hints were enabled (CPP-16741)

The full release notes are available here.

Your CLion Team,
JetBrains
The Drive to Develop

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

CLion 2019.2 EAP: Peripheral View for ARM Devices

Hi,

A new CLion 2019.2 EAP (build 192.5587.18) is now available. Download the full build from our site, install it via the Toolbox App, or use a snap package for Ubuntu. A patch-update for the previous EAP build will be available shortly.

DOWNLOAD CLION 2019.2 EAP

This build introduces the Peripheral view for ARM embedded devices.

What do you need to start with it in CLion?

The Peripheral view in CLion is shown during debugging for two types of Run/Debug configurations: Embedded GDB Server and OpenOCD Download & Run. So, first, you need to have a configuration. When you run it, you’ll see the Peripherals tab in the Debug tool window with an invitation to load the .svd file:
peripherals_load

Second, you need is an .svd file, which is a standard ARM file with the definitions of peripheral registers. MCU vendors publish them along with the chip documentation, or you can find them inside various SDKs or libraries.

Select the file and the active peripherals to show:
peripherals_select_active

That’s it!
peripherals_loaded

A few notes on the Peripherals tab

You can switch between Decimal, Octal, Hex, and Binary views of the peripheral value via the context menu:
peripherals_mode

Note the peripherals are read-only for now. We plan to implement a read-write mode later.

If you need to search for a particular value, just start typing the name:
peripherals_search

On the Peripherals tab, you can also find a few useful buttons:

  • The Stop refreshing button stops the on-the-fly updates to the peripherals on stepping. It can be useful if the operation is time-consuming. And with the Refresh button, you can trigger an update manually.
  • The Configure button opens the Load .svd file dialog. By the way, you can load several .svd files at once and select the active peripherals you need from each one.
  • Export as CSV to Clipboard and Open as CSV in Editor can be useful if you want to compare peripherals from several runs or save it for the future investigation.

Last but not least, this EAP build bundles GDB 8.3.

The full release notes are available here.

DOWNLOAD CLION 2019.2 EAP

Your CLion Team
JetBrains
The Drive to Develop

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

CLion 2019.2 EAP: MSVC Debugger, Unused Includes Check, and More

Hi,

A new CLion 2019.2 EAP (build 192.5438.15) is now available. Download the full build from our site, install it via the Toolbox App, or use a snap package if you are using Ubuntu. A patch-update for the previous EAP build will be available shortly.

The main highlights:

DOWNLOAD CLION 2019.2 EAP

Continue reading

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

CLion 2019.2 EAP: fixes for Debugger and Parameter hints

Hi,

A new CLion 2019.2 EAP (build 192.5281.33) is now available. Download the full build from our site, install it via the Toolbox App, or use a snap package if you are using Ubuntu. A patch-update for the previous EAP build will be available shortly.

DOWNLOAD CLION 2019.2 EAP

Parameter Name Hints

The first 2019.2 EAP introduced Parameter name hints that helps with the code readability by showing the names of function parameters for passed arguments. This build brings a few important fixes for it:

  • Fixed the freezes in the IDE caused by parameter hints (CPP-16494).
  • A parameter name hint was added for an argument which is a constructor without parameters (CPP-16423):
    constructor_hints
  • A parameter name hint was added for the this pointer (CPP-16312):
    this_hints

Debugger

This EAP also brings a set of fixes in Debugger:

  • Fixed the bug with the evaluate an expression with GDB. It gets constantly re-evaluated each time the debugger refreshes the variables view (CPP-7358).
  • Fixed the issue with GDB when a variable’s value is not updated on stepping after “Set value” command (CPP-13295).
  • Fixed the GDB hangs in the case of MinGW-w64 and multi-line commands(CPP-9090).

And more

Among the other changes:

  • Commit from the Local Changes for projects that use Git or Mercurial as their version control system (see the blog post for more details).
  • Windows Defender performance warning (see the blog post for more details)
  • Remove false positives with constructors marked as unused, if created via std::make_shared.
  • Fixed the issue with the macro replacement in quick documentation which was not working when ClangFormat is enabled(CPP-16244).

The full release notes are available here.

Your CLion Team
JetBrains
The Drive to Develop

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

The Developer Ecosystem in 2019: Key Trends for C, C++, and a bit of Rust

As a tool vendor, we keep our finger permanently on the pulse with what’s going on in terms of key trends and important changes in the development world. As our IDEs cover lots of languages and technologies, there is a lot of ground to cover in all different directions. In the C++ team, we are obviously most interested in the C and C++ ecosystems and the related languages and technologies around them.

The Developer Ecosystem survey, which JetBrains runs yearly, aims to reveal all this kind of information. And today we are happy to share with you the results of the 2019 edition of this survey. Especially, we’ll take a closer look at the most interesting things we’ve found from this year’s study related to C, C++, and there’s even a bit about Rust too at the end.

VIEW THE STATE OF DEVELOPER ECOSYSTEM 2019 REPORT

Top C discoveries

The most interesting findings regarding C development were about the various tooling adoption. The project models distribution has mostly remained unchanged from 2018, however, Makefiles has secured itself a stronger position with 50%. A similar situation can be seen with the compilers, where GCC is trending, but Clang has grown its share from 23% to 35%:
C compilers
A new question on dependency and package management tools was introduced this year that led to the discovery that for the C language 60% don’t use any dependency manager, while 22% rely on a system package manager. Nuget and Conan lead the list of specific dependency managers, with 6% of the share for each:
C dependency managers
Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

CLion 2019.2 EAP: Debugger Improvements, Syntax Highlighting for 20+ Languages, and Shell Script Plugin

Hi,

A new CLion 2019.2 EAP (build 192.5118.29) is now available. Download the full build from our site, install it via the Toolbox App, or use a snap package if you are using Ubuntu. A patch-update for those using the previous EAP build will be available shortly.

DOWNLOAD CLION 2019.2 EAP

Debugger

When debugging your application, you can use the GDB/LLDB console directly from CLion. Now, command completion works when you press Tab or Ctrl+Space. Note that completion is provided by GDB or LLDB, respectively, while CLion simply gives you access to them.

For GDB:
gdb completion

For LLDB:
lldb completion
Continue reading

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

CLion 2019.2 EAP: GDB Server for Embedded Debugging

Hi,

A new CLion 2019.2 EAP build (192.4787.12) is now available. Download the full build from our site, install it via the Toolbox App, or use a snap package if you are using Ubuntu. A patch-update for those using the previous EAP build will be available shortly.

DOWNLOAD CLION 2019.2 EAP

On-Chip debug with GDB Server

As we announced previously, Embedded Development support is one of our main areas of focus right now. We already had some results to show you in v2019.1, with OpenOCD support and integration with STM32CubeMX, along with major improvements in the debugger like the Memory View.

We are now working on further improvements for general embedded debugging and a peripheral view. In this EAP build, we’ve implemented and polished a Run/Debug configuration for On-Chip debug with GDB Server. This covers such cases as:

  • Using OpenOCD as a standalone GDB Server
  • Using ST GDB Servers (you can get an OS version of the tools on GitHub)
  • Using Segger J-Link GDB Server
  • Using QEMU as a GDB Server
  • Any other specific GDB Server

Continue reading

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

CLion 2019.1.4 bug-fix update

Hi,

A new bug-fix update CLion 2019.1.4 has just been released! Build 191.7479.33 is now available to download from our website, via the Toolbox App, or via snap (for Ubuntu). A patch-update will be available shortly.

DOWNLOAD CLION

Here’s a brief overview of the improvements and bug fixes:

  • If you open a project from the invalid compile_commands.json file and then fix it manually, CLion will now suggest to auto-reload the project for you (CPP-16088)
    compdb_notification
  • Changes in the Environment variables field of the Run/Debug Configurations are now saved correctly by the IDE (IDEA-208525)
  • The font settings on Linux are now saved correctly by the IDE (IDEA-206180)
  • The Find in Path dialog now closes when opening a project in the same window (IDEA-204277)
  • A few IDE hangs are fixed

Full release notes are here.

Your CLion Team
JetBrains
The Drive to Develop

Posted in Announcement | Tagged , | Leave a comment

CLion 2019.2 EAP: Performance Improvements, Platform Changes, and More

Hi,

Last week we launched the Early Access Program (EAP) for CLion 2019.2. We thank everyone who already gave that EAP build a try and checked new things like parameter name hints, code assistance for .clang-format config files, go to address in memory view, and other enhancements and shared their feedback with us!

Today a new EAP build (192.4488.4) is available to download. As usual, you can download build 192.4488.x from our site, or use the Toolbox App, or use a snap package if you are using Ubuntu. A patch-update for those using the previous EAP build will be available shortly.

DOWNLOAD CLION 2019.2 EAP

C++ related improvements

Performance

While our major effort to improve performance is still ongoing, there are a few changes already available in the EAP build. First of all, we’ve removed lags in several cases of in-place Rename refactoring (CPP-16098). This has made the editor much more responsive.

Second, we’ve reduced the number of I/O operations when CLion collects compiler info in the full remote mode (when you run CLion locally and work with your project remotely). This has improved the performance of the Loading CMake step in remote cases.

Naming convention settings

In the first 2019.2 EAP build, we introduced reworked and more flexible naming convention settings. This time we’re polishing the UI/UX to make it possible to work with the settings table without using the mouse:

  • Use -> / < - to navigate between the columns in the selected entry.
  • Use Space to open the dropdown menu, and use Esc to close it.
  • Use Tab to navigate between the options in the checkboxes, and use Space to select/deselect them.

Naming Settings

And more

A few other C++ related fixes include:

  • Move refactoring got further improvements, including a fix for the refactoring failing on global variables (CPP-16337).
  • CLion shouldn’t add headers that are already included when refactoring or applying quick-fixes (when the Clangd-based engine is used) – CPP-15972.
  • A fix for a regression with “OpenOCD Download & Run” configuration that stopped working.

Continue reading

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

Core C++ 2019 Trip Report

More and more C++ events, community meetups, and conferences are appearing around the globe. 2019 is definitely looking like a year for new C++ conferences. Take, for example, C++ on Sea (UK, in February) or the upcoming CPPP (France, in June). Even C++ Russia now has two editions per year – one in Moscow and one in St. Petersburg. And, finally, there’s the event we just visited – Core C++, held in Tel Aviv, Israel.

Core C++ was started by the organizers of two big local communities, the Core C++ meetup in Te Aviv and the Haifa::C++ meetup. Adi Shavit from Tel Aviv is a well-known international speaker you may have met at one of the many C++ events around the world. The event was hosted at the Academic College of Tel Aviv–Yaffo, very close to the beautiful and historic old city of Jaffa.

Jaffa city
Continue reading

Posted in Conference & Events | Tagged , , | 4 Comments