ClangAutoComplete
ClangAutoComplete copied to clipboard
support Designated Initializers syntax?
Any possiblity to support Designated Initializers syntax?
For example, we have a struct definition and struct variable here:
struct s {
int a;
int b;
};
struct s var = {};
when i type a dot in struct variable initializer braces, autocomplete will give me the hint about struct member. Then I can finish code like this:
struct s var = { .a = 1, .b = 2};
I will admit that I would like this feature as well, but as I'm relying 100% on clang for the completion suggestions I cannot do anything that clang does not want to.
I will take a look around the potential flags and standard library version I can pass to clang and see if it resolves this issue, but I would not hold my breath!
@pl-ca Okay, thank you