Bug 410269

Summary: Code completion doesn't work with designated initializers in C99
Product: [Applications] kdevelop Reporter: Petros <petross404>
Component: Code completionAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Petros 2019-07-27 10:17:40 UTC
SUMMARY

I have this code:

typedef struct{
	char	a_c;
	char	b_c;
} chars;

chars c_array [] =
{
	{.a_c = 'a', .b_c = 'b'}
};

Although the struct members are parsed after all, while I am typing them, I get zero hints from the IDE.


OBSERVED RESULT
No code completion for designated initializers in C99.

EXPECTED RESULT
IDE should give a hint about what members struct Foo has.

C profile is set to C99 in parser settings.