Autocomplete for other file
已回答
Let's say I have a file called foo.c:
typedef struct {
int value;
} Foo;
and another file called main.c:
#include "foo.c"
int main {
Foo foo = {};
};
when I now start typing `foo.` I see no autocomplete options, while `foo.value = 3;` does indeed compile just fine. It does suggest `value` when I place the struct in the same file though.
Any reason/solution for this?
请先登录再写评论。
Hi! We have a similar issue in our tracker already - https://youtrack.jetbrains.com/issue/CPP-9096. Please follow it to get updates.