On 3/18/2021 8:38 PM, Alexander Dyagilev wrote:
Hello,

Often it just stops to suggest code, syntax highlighted stops working (at least for a part of the code) for no apparent reason.

It takes apporx. 10 seconds to parse c++ file for c++ tools to start working. If you open/close/open same c++ it can stop parsing it until app restart.

App restart often helps to fix these bugs, but they do return in a small amount of time...

Any suggestions?


I often disable the "new" clang-based parser when I'm working on a project of any significant size/complexity. The extra hinting and some other features it provides are nice, but not really worth the expense. 8 x 3.5GHz cores I guess aren't enough to parse my code in real time. I can edit 4K video in real time on this computer, but not really use the clang-parsing in QtC on a "big" project where it would be most useful. All my "valuable feedback" on the issue was summarily ignored, and unfortunately the old code model is no longer maintained (despite some pleas to keep it current), and has some minor issues. But it's fast and still works good enough (last I checked). The clang parser/analyzer can then be run manually as needed to catch any possible outlier issues.

I absolutely can't stand having to restart my editors (tools) all the time. And this stuff typically happens when I'm right in mid-flow of work. It's like being 25' up on a ladder with a screw gun that only sometimes works... yea that's getting tossed in the rubbish bin.

Cheers,
-Max
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to