Early Access Program News

CLion 2022.1 EAP2: Remote Development with Space Dev Environments, More Accurate Code Analysis, New Formatter Options for Structured Bindings

Hi,

A new CLion 2022.1 EAP build is available now! If you haven’t yet tried the new version, now is a good time to do so. Build 221.4165.77 is available from our website via the Toolbox App or as a snap package (if you are using Ubuntu). Note that if you are on macOS, there is a separate build for Apple Silicon (M1 chip).

Those who are already using EAP1 can apply a patch to update to EAP2.

DOWNLOAD CLION 2022.1 EAP

Remote development with Space dev environments and projects warm-up

Have you already tried the new remote development workflow in CLion? You can learn how it works in CLion in this blog post. In the first 2022.1 EAP we bundled the Gateway functionality into CLion. And now another valuable part of the new remote development workflow has been added to CLion. Cloud dev environments featured in Space can now be used with CLion. Dev environments are virtual machines running on the Space cloud. You can now use these machines for software development instead of your local one. Check out these blog posts for more technical details and a brief video overview:

By using dev environments you can:

  • Speed up onboarding with standardized environments.
  • Get a ready-to-use IDE in seconds with prebuilt snapshots.
  • Centralize the management of your dev environments.
  • Save resources with automatically hibernating dev environments.
  • Work on several tasks simultaneously.
  • Collaborate on code with your teammates.

The warm-up feature now also works for CLion. Learn more in our documentation.

Notable fixes and enhancements

  • For library files, CLion no longer shows the This file does not belong to any project target notification (CPP-27963).
  • C++ code analysis is now more accurate and faster. Just to mention a few improvements:
    • “Condition is always false/true” checks now work correctly with types and narrowing conversion (CPP-18639, CPP-27516).
    • CLion no longer marks fields as unused if they have nontrivial destructors (CPP-22442).
    • False warnings in template class are removed (CPP-27004).
    • Several performance optimizations were applied to Data Flow Analysis.
    • Incorrect Clang-Tidy results that occur when the WSL toolchain is used are now fixed by executing Clang-Tidy inside the WSL itself.
  • C++ code completion:
    • The completion for template class members was improved (CPP-2115).
    • The completion in range-based loops with templates now works (CPP-20122).
    • When completing macros with variadic arguments, the name of the first argument is now present in the completion item (CPP-27818).
  • Inlay Hints:
    • Hints for array indices can now be disabled if you don’t need them:Array Hints setting
    • Hints for emplace, emplace_front and emplace_after were added.
  • Formatter:
    • New formatter options for structured bindings were added to Spaces.Spaces in structured bindings
      and Wrapping and Braces sections:
      Wrapping in structured bindings

The full release notes are available here.

DOWNLOAD CLION 2022.1 EAP

Your CLion team
JetBrains
The Drive to Develop

image description

Discover more