4

I'm searching for a way to parse the whole directory with source code with semantic. Is this possible to do without explicitly opening each file in emacs?

tshepang
  • 12,111
  • 21
  • 91
  • 136

2 Answers2

0

Yes,

There's a thing called an EDE project in CEDET - where you can specify the list of files in a project file. Semantic then does analysis of all of the files listed in the .ede project, and stored that in the database.

At that point, completion and intellisense works on all of those files.

Cheeso
  • 189,189
  • 101
  • 473
  • 713
  • So instead of opening each file the solution is to manually add each file to the list? Doesn't seem very helpful. The solution should be along the lines of M-x semantic-scan-every-file-reachable-from-this-folder RET /path/to/project/root RET – EpsilonVector Mar 21 '12 at 13:41
  • I'm not a big fan of EDE or CEDET, and I don't use these packages. But I think it's a little better than you describe. – Cheeso Mar 21 '12 at 17:34
0

I use projman mode on top of EDE. It aids in the creation of projects and provides convenient functions to find all source files and generate a global TAGS file. I had tried CEDET on and off for the past couple years and had always come away disappointed until I discovered projman.

MrEvil
  • 7,785
  • 7
  • 36
  • 36