Today we’re making available the first bug-fix for the recently released CLion 2020.1. CLion 2020.1.1 (build 201.7223.86) is now available for download from our website, via the Toolbox App, or via snap (for Ubuntu). A patch update will be available shortly.

DOWNLOAD CLION

Here are the main highlights:

  • Toolchains:
  • CLion 2020.1 introduced CUDA support. This update fixes the issue where CLion was not able to pick the non-default host compiler for CUDA. There are two different ways of specifying the host-compiler that NVCC should use during compilation.
  • For older CUDA projects using find_package(CUDA), the important CMake variables are CUDA_HOST_COMPILER and CUDA_NVCC_FLAGS.
  • For newer projects that specify CUDA explicitly as a language, CMake uses the variables CMAKE_CUDA_HOST_COMPILER and CMAKE_CUDA_FLAGS instead.For details check here.
  • The compiler is now detected correctly for Cygwin (CPP-19908).
  • CLion 2020.1.1 recognizes WSL Ubuntu20.04 distribution.
  • In Qt code: QStringLiteral and QByteArrayLiteral are now highlighted correctly (CPP-19916).
  • Clang tools:
  • A fix for a Clangd crash on C++20 code.
  • A fix for the Reformat Code action that caused an IDE freeze when ClangFormat was in use.
  • Code completion:
  • Completion was skipping parenthesis when Tab indentation was used (CPP-19902).
  • An issue with header name autocompletion has been fixed (CPP-19675).
  • A few issues with incorrect (CPP-10037) or redundant (CPP-19310) symbols completed were fixed.

The full release notes are available here. If you haven’t yet updated your CLion to 2020.1, now is a great time to do so!

DOWNLOAD CLION

Your CLion Team JetBrainsThe Drive to Develop