Bug 410269 - Code completion doesn't work with designated initializers in C99
Summary: Code completion doesn't work with designated initializers in C99
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 10:17 UTC by Petros
Modified: 2019-07-27 10:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

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