Bug 44454

Summary: code completion does not show pointers in structs
Product: [Applications] kdevelop Reporter: Matthias Gruenewald <ma_gruenewald>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias Gruenewald 2002-06-28 08:52:25 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.1 (using KDE 3.0.1 )
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18-4GB
OS/Compiler notes: 

I use KDevelop to develop standard C applications. If I'm defining a struct with pointers e.g.:

struct my_entry {
   int data;
   struct my_entry *next;
}

and I declare a pointer to it in a function e.g.:

struct my_entry *p;

code completion does only show the entry data not the entry next if I type p->.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Eray Ozkural 2003-02-11 15:37:03 UTC
tested with a newly created c project in CVS HEAD. 
 
both data and next are in auto-completion set. 
 
please investigate further if you feel the bug persists. 
 
thank you,