CLion 2019.3 EAP and 2019.2.3 Bug-fix Update
Hi,
Today we have a few updates for you. If you’re using a stable release version, there’s a new bug-fix update to v2019.2. And if you’re helping us nit-pick the 2019.3 EAP builds, we’ve got a new build for you.
CLion 2019.3 EAP 2
The Early Access Program for CLion 2019.3 started recently with lots of performance fixes, Clangd-based code completion, updates to remote debugging via gdbserver, and more. Now it’s time for the second 2019.3 EAP build!
Build 193.3793.19 is available from our site, via the Toolbox App, or as a snap package (if you are using Ubuntu). A patch-update for those using the first EAP build will be available shortly.
Python
First of all, Python support is back:
We sincerely apologize for this delay. We know you were eager to try the first 2019.3 EAP but had to wait because of this issue. Thanks for your patience!
Loading project w/o -fpch-preprocess
flag
We’ve got a few reports from users whose compilers don’t support the -fpch-preprocess
flag, which CLion uses while reloading the project.
CLion relies on this flag to handle projects that use PCHs. It helps the IDE understand the sources used to create the precompiled binaries, as well as correctly handle any invalid arguments passed to -include
. However, this causes issues for some old or embedded compilers that don’t support the flag.
Now, if a compiler doesn’t support the -fpch-preprocess
flag and generates an appropriate message about this, the "Reloading Project" process will complete successfully (with a warning status). If you would like to completely disable -fpch-preprocess
, please go to Help | Find Action, type Registry and disable the registry option cidr.compiler.gcc.fpch.preprocess
.
Other highlights
- Fixes in code analysis and highlighting:
- Checks for endless loops are now disabled for functions marked with
__attribute__((noreturn))
. - Fixed a regression with Clangd incorrectly highlighting opening and closing brackets differently (CPP-15273).
- Checks for endless loops are now disabled for functions marked with
- We’ve added a new option to make the scrollbars more visible. To enable it, go to Preferences/Settings | Appearance & Behavior | Appearance and select the ‘Use contrast scrollbars’ checkbox. Also note that starting with v2019.2, macOS users can configure the editor scrollbar color and opacity at Preferences | Editor | Color Scheme | General | Editor | Vertical Scrollbar:
Find the release notes here.
CLion 2019.2.3
A new bug-fix update, v2019.2.3 (build 192.6817.18), is available for download, along with a patch update.
This update bundles CMake v3.15.3 and provides a set of platform and UI/UX improvements, such as the “Use contrast scrollbars” setting introduced in 2019.3 EAP and ported to 2019.2.3. Besides, the IDE now supports native password storage on Linux (IDEA-185926).
For more details, please see the full release notes for the IDE and for the JetBrains Runtime.
Your CLion Team
JetBrains
The Drive to Develop
Steffen Seckler says:
September 26, 2019missing ‘h’ in Link below IDEA-185926: “ttps://youtrack.jetbrains.com/issue/IDEA-185926”
Anastasia Kazakova says:
September 26, 2019Good catch! Thanks. Fixed
Rogiel Sulzbach says:
September 26, 2019Is Ninja/CMake file API support still scheduled for 2019.3? Any estimate on when it might land on EAP?
Anastasia Kazakova says:
September 26, 2019It’s under development now and requires significant changes in the core product’s components. Hopefully, we’ll be able to publish in 2019.3 EAP. We do our best! Stay tuned
Alex says:
September 27, 2019That’s great to hear! Really look forward to having native ninja support since it should speed up building most large projects I work on (e.g., LLVM) massively.
Anastasia Kazakova says:
September 27, 2019We also work on LLVM, when building our Clangd-based engine, so we understand your pain) CMake API, however, requires massive changes, so it’s still in development and I can’t promise the exact estimates at this point. But we hope to show it soon.
Anton says:
September 26, 2019The latest CLion EAP doesn’t save position, sizes and view modes of its panels/views (debug, messages, run, cmake). I always set the “window” mode for these views and move them to another screen. Earlier, I did it once for every project. Now I have to do it every time I start CLion. It’s very annoying, please, consider to give it a high priority.
https://youtrack.jetbrains.com/issue/CPP-17516
Anastasia Kazakova says:
September 27, 2019Looks like some IntelliJ platform issue. We’ll take a look, thanks
Roman says:
September 26, 2019Do you still plan to deliver switch header/source feature in 2019.3? This will be highly appreciated!
Alexander says:
September 27, 2019Do you mean as a shortcut? Isn’t that already possible with a combination of ctrl, alt (or something like that) + pos1 or home?
Anastasia Kazakova says:
September 27, 2019That’s Go to Related Symbol. However, it does not always do what users expect under Switch Header/Source action. So we plan to introduce this other action.
Roman Popov says:
September 27, 2019There are two problems with “Go to Related Symbol”
1) It usually navigates to wrong location, just picks some random symbol with same name.
2) It is terribly slow.
I expect switch Header/Source will allow to navigate between declaration and definition, taking into account active CMake target and build configuration.
Anastasia Kazakova says:
September 29, 2019Thanks for the suggestions. We keep it in mind.
Roman says:
September 30, 2019Probably bugs with navigation will be automatically solved when CLion switches to CMake File API. For example, as I understand QtCreator uses CMake ServerMode / FileAPI, so when specific build configuration is selected in QtCreator navigation actions work only within this build config. So you never end up navigating to some file that is not included in active config.
Anastasia Kazakova says:
September 30, 2019This is not related. As for QtCreator, not sure how the navigation there works, but it’s not using CMake API, it has support for CMake server. But active/inactive configs preferences are still not related to this.
Roman says:
September 30, 2019Or probably not.. VS2019 uses CMake FileAPI but is still quite buggy when navigating. But at least it shows “Selected configuration does not apply to this file” when you end up navigating to file that is not included in active build config.
Anastasia Kazakova says:
September 27, 2019Yes, it’s still under development however.
Taw says:
September 30, 2019Hi Anastasia, can you tell me please what is that silly circle inside CLion’s folders? CPP-17538
It was great and clean before, why all the folders look like a dotted hyena now? Why the need to change?
I wonder why all the applications that I love (like CLion, Player.FM, etc) feel the need to break the GUI just to change something? Are the designers bored and need work?
Every every time a new version is released I am thrilled but also scared because something is getting broken and it seems that I am right…
I really want to revert to the old behaviour, without having that dot inside the folders, Thanks.
Anastasia Kazakova says:
September 30, 2019Hello Taw. This is just a bug, some Python icons leak to CLion’s set accidentally. Such regressions, unfortunately, happen in EAP builds, but we hope to address it soon.
Taw says:
September 30, 2019Great, thanks Anastatis, I was afraid that it was a “feature”. 🙂
Taw says:
September 30, 2019Anastasia*
Juraj Orsulic says:
October 2, 2019I am getting clangd crashes with 2019.2.3, causing CLion lockups. Had to revert the snap.
Anastasia Kazakova says:
October 3, 2019Could you please send idea.log to the clion-support at jetbrains.com?
Also, if that’s reproducible, could you please open Clangd toolwindow (Find Action, and then type Clangd Tool Window there) and check any errors visible there. Send them to us, if smth. That’s definitely a bug and we’d like to investigate it.
Juraj Orsulic says:
October 3, 2019Thanks for the response. Unfortunately, the line “server.ClangServerAccessorImpl – clangd crash dump:” does not contain any crash output. Nevertheless I sent the logs.
Anastasia Kazakova says:
October 3, 2019Yes, we’ve got them. Thanks
PetrK says:
October 3, 2019Also can you please clarify: CLion lockup means that it is completely frozen and unusable?
Taw says:
October 3, 2019Anastasia, I still have spikes when I keep the Enter key pressed with only the Synthax inspections enabled. When I set it to None, everything runs smooth.
Will this be fixed also?
My project is very small and I constantly complain (for 3 years) that the typing has a small lag even if I don’t have big includes or smth.
Anastasia Kazakova says:
October 3, 2019I guess you know my next first question here – CPU snapshot? Ideally, if you can recapture on 2019.3 and create a ticket in the YT. Thanks in advance.
Taw says:
October 3, 2019I think it’s my 3rd ticket regarding this issue, but here you go: CPP-17577
Anastasia Kazakova says:
October 3, 2019Ok, you can actually just put new dumps to the previous tickets.
Anastasia Kazakova says:
October 3, 2019Could you please remind us if you have Clangd enabled?
Anastasia Kazakova says:
October 3, 2019And please proceed with the instruction from the comments in the ticket. Thanks
Tano says:
October 3, 2019Yes, I have, I think it should be seen also in the logs/data that I sent.
Perhaps it’s related to the 5 years old bug CPP-988?
In my opinion, this is CLion’s biggest weakness, the typing lag…a lot of my friends/colleagues would not switch to CLion because of this, they preffer the old Eclipse.
Anastasia Kazakova says:
October 3, 2019Actually, all these issues are slightly different in details. We will investigate the case. Please follow in the ticket.
GodKillerXiao says:
October 8, 2019MacOS Catalina release doesn’t support 2019.2.3 LLVM debugging…Hope you guys fix it soon…
Anastasia Kazakova says:
October 8, 2019Could you please provide more details on the issue?
There was a known problem recently https://youtrack.jetbrains.com/issue/CPP-17126, but it’s fixed already in 2019.2.2.
You can get previous version from: https://www.jetbrains.com/clion/download/other.html
Anastasia Kazakova says:
October 9, 2019I think we’ve found an issue. It works in 2019.2.2 and we hope to make a quick bug-fix update 2019.2.4. Sorry for the inconvenience.
Anastasia Kazakova says:
October 9, 2019CLion 2019.2.4 with the fix is now available: https://blog.jetbrains.com/clion/2019/10/clion-2019-2-4-bug-fix-update/