0

For example, I have a header file , a.h

struct f
{
    int aaaa;
    int bbbb;
    int cccc;
};

And a C file, a.c

#include "a.h"

int abcd;
void main()
{
    struct f abcd;
    abcd.a
}

What i want is, when i type abcd.a, i hope it will automatically pop up aaaa, not abcd.

I know there need to be a C parser to do it, but i'm already using Cscope and Ctags, Is there anything to do what i want by reading Cscope database?Or any other ways?

demonguy
  • 1,977
  • 5
  • 22
  • 34

1 Answers1

0

You can try using SublimeClang and it should provide auto complete for you.

jacob
  • 4,656
  • 1
  • 23
  • 32