Bug 146251 - AutoComplete for TypeDef Struct
Summary: AutoComplete for TypeDef Struct
Status: RESOLVED DUPLICATE of bug 63134
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.4.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 14:50 UTC by Florin Tene
Modified: 2007-06-01 15:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***