Bug 255499

Summary: KDevelop shows tooltips for macros inside comments
Product: [Applications] kdevelop Reporter: Alexander <ashaduri>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, cponnapalli
Priority: NOR    
Version First Reported In: 4.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:
Attachments: No tooltips shown for macros inside comments

Description Alexander 2010-10-28 14:33:50 UTC
Version:           4.1.0 (using KDE 4.5.2) 
OS:                Linux

Consider the following code:

#define SOME_MACRO
// SOME_MACRO is a macro

When hovering SOME_MACRO on the second line, a tooltip for SOME_MACRO is displayed. This doesn't happen with other stuff like functions, etc...

Reproducible: Always




openSUSE 11.3 x86_64.
Comment 1 chaitanya srinivas ponnapalli 2016-05-16 06:54:06 UTC
Created attachment 99011 [details]
No tooltips shown for macros inside comments

Reproduced the code sample given.
When pointing to SOME_MACRO on the second line, there is no tooltip shown.
There seems to be no issue.
Attached the screenshot for reference.
Comment 2 Kevin Funk 2016-05-16 21:16:37 UTC
Thanks for notifying!