Bug 146251

Summary: AutoComplete for TypeDef Struct
Product: [Applications] kdevelop Reporter: Florin Tene <florin.tene>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 3.4.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Florin Tene 2007-06-01 14:50:18 UTC
Version:           3.4.1 (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
Compiler:          g++ 4.2.0 
OS:                Linux

Hi, 

There are problems with auto-complete for structs and typedef's in c++
- a struct defined locally inside a function and used there 
- a  typedef struct that is defined globally and included from others *.h

so for a struct inside a function:
	struct X
	{
		int id;		
		int page;	
	};
			
	X pp;
	
	pp. -> NoAutoCompletion

for a case for typedef:

typedef struct
{
	int id;
	int page;
} Y;

Y pp;
pp. -> No AutoComplete

This bug is like bug 137746 and 65272 but the problems show up again.
Comment 1 David Nolden 2007-06-01 15:15:52 UTC
Both these things are limitations of the parser, and will not be solved for kdevelop-3.4. Hopefully they will for kdevelop-4.

Also both things are already reported and still open, but I have no time to search for the one bug-number now.

*** This bug has been marked as a duplicate of 63134 ***