Bug 497267

Summary: Help for cpp-keywords not available
Product: [Developer tools] kdevplatform Reporter: Georg Michael Steyer <info>
Component: editor integrationAssignee: kdevelop-bugs-null
Status: RESOLVED NOT A BUG    
Severity: normal CC: igorkuo
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Georg Michael Steyer 2024-12-10 09:47:58 UTC
***
Hello everyone, I’m working with Kdevelop 5.12.230805. As soon as I hover the mouse over for example "cout" in the editor, the documentation for “cout” appears in a window. The same works for "string", for example. But not for other keywords such as "while", "return", "char", etc.
However, the file cppreference-doc-en-cpp.qch is located in /usr/share/qt5/doc/, as are all other Qt-related files. Solution?
Tnx for an answer!
Comment 1 Igor Kushnir 2024-12-11 15:14:49 UTC
"cout" and "string" are not keywords but standard library functions. Language keywords are never highlighted in KDevelop (and probably not in other IDEs either).