No way to disable background parser. STEPS TO REPRODUCE 1. Disable background parser in 'Language Support -> Background parser' 2. Open C++ project 3. Open C++ file OBSERVED RESULT Background parsers starts eating my CPU. EXPECTED RESULT No background activity.
The file(s) you open are always parsed. If you don't want that, you have to completely disable the C++ plugin. Disabling the background parser only disables parsing files in a project in advance.
(In reply to Sven Brauch from comment #1) > The file(s) you open are always parsed. If you don't want that, you have to > completely disable the C++ plugin. > > Disabling the background parser only disables parsing files in a project in > advance. It's quite confusing. In fact I want to disable it because it never finishes and crashes sometimes (then I switch branches and files became unavailable). It would be great if there were an option "max time per file".
One more thing. I've tried to find something like 'Background parser' of 'C++ plugin' in plugins to disable and there's nothing like this. What section of plugins it should be placed in and what is it's name?
Still no way to disable plugin / parser. There's no 'C++ plugin' in plugins list.
Yeah, you cannot disable the language plugins from the UI. You can start KDevelop with "KDEV_DISABLE_PLUGINS=kdevclangsupport kdevelop" or remove the .so file. At that point you can pretty much use kate instead, though.
Created attachment 118618 [details] attachment-7533-0.html Thanks, Kete is not enough cause of gdb, cmake and other integration. My case is to edit code on laptop, build it on remote server and fetch result sometimes for local execute and debug. So if background parser eats my battary and makes me noise - it’s not OK. But off cause I’m interested in syntax highlighting and other results of C++ plugin. It would be cool to be able switch off automatics and run background parser manually. No need to start it any time I switch branch. It has no chance to finish. I’d better run it once a month for an hour and will work with slightly inconsistent results next week. ср, 6 марта 2019 г. в 19:57, Sven Brauch <bugzilla_noreply@kde.org>: > https://bugs.kde.org/show_bug.cgi?id=405140 > > --- Comment #5 from Sven Brauch <mail@svenbrauch.de> --- > Yeah, you cannot disable the language plugins from the UI. You can start > KDevelop with "KDEV_DISABLE_PLUGINS=kdevclangsupport kdevelop" or remove > the > .so file. At that point you can pretty much use kate instead, though. > > -- > You are receiving this mail because: > You reported the bug.