Bug 414529

Summary: Unclear how to run analyzers
Product: [Applications] kdevelop Reporter: Alexander Potashev <aspotashev>
Component: Analyzer: Clang-TidyAssignee: kdevelop-bugs-null
Status: REOPENED ---    
Severity: normal CC: christoph, kossebau
Priority: NOR    
Version First Reported In: 5.4.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2019-11-26 11:20:11 UTC
SUMMARY
Unclear how to run analyzers, e.g. Clang-Tidy.

After I open a project, the menu items under "Code -> Analyze Current Project/File With -> ..." are all grayed out. There is no information in the UI on how to run these analyzers.

If I build the project, some of the menu items become available. However it's still unclear why this happens, from the user's perspective.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT
Keep all Analyzers menu items available at all times. When the user attempts to run an analyzer and it's not immediately available for some reason (e.g. the project must be built before running analyzer), a warning message box should be opened with the complete steps to perform before trying to run the analyzer again. If building the project is the only requirement for an analyzer to work, a button "Build, then Analyze" can be added into this Warning message box.

SOFTWARE/OS VERSIONS
Operating System: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.5
Kernel Version: 5.3.7-301.fc31.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15,4 ГиБ

kdevelop 5.4.3-1.fc31

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2025-06-10 17:04:25 UTC
This project is unfortunately no longer maintained.

If a new maintainer wants to step up and take care, the project is archived here:

https://invent.kde.org/unmaintained/kdev-clang-tidy

You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived.

Sorry for the inconveniences.
Comment 2 Christoph Cullmann 2025-06-10 18:34:28 UTC
Error on my side, just now bundled with KDevelop, re-opened.