@techee I think I done reading the patches.  I merged it in a local branch to 
test it for a while, but please, go ahead and fix things.

One thing that these changes seem to have broken is completing members of a 
static structrue like this:
```c
static struct {
        int a, b;
} foo;

int main(void) {
        return foo.a;  // <- here nothing pops up after the dot -- yet used to
}
```
I didn't investigate why yet (maybe because anonymous structs are skipped 
somewhere they shouldn't be?).

Also, although this one didn't work before either, it'd be nice to skip array 
indexing too when searching what to complete while at it, so stuff like that 
would work:
```c
typedef struct {
        int el1, el2;
} Test;

Test test[2] = {
        { 1, 2 },
        { 3, 4 },
};

int main(void) {
        return test[0].el1; // <- here
}
```

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/505#issuecomment-163013609

Reply via email to