Re[1]: [cedet-semantic] Error in semantic completion
Brought to you by:
zappo
|
From: Eric M. L. <er...@si...> - 2003-10-29 14:34:07
|
>>> Mike Hearn <mi...@th...> seems to think that:
>On Tue, 28 Oct 2003 15:20:40 -0500, Sir Eric M. Ludlam scribed thus:
[ ... ]
>> For larger projects, be sure to investigate the
>> `semanticdb-project-roots' variable.
>
>I think I am misunderstanding this variable. I would like to complete on
>the gtk headers, in /usr/include/gtk-2.0/gtk. I have added this directory
>to the project-roots variable, but I cannot complete on these symbols. In
>the TOKENS menu, gtkbutton.h does not appear when editing my main program,
>and conversely, main.c does not appear when editing gtkbutton.h
>
>Basically, how do I "merge" different directories into the same project?
>Or, better, perhaps simply remove the project distinction all together (i
>tend to run different emacs instances for different projects anyway).
>
>I'm assuming that'd let me complete on the gtk headers.
>
>You mentioned a shell script to visit all the files and put them in the
>semanticdb. Is that available anywhere? If it'll be in the next release,
>how soon will that be?
[ ... ]
Project roots is the root for different projects. So if you have
code in /home/me/myproject, you would make that a root, and if you
are working in a file in /home/me/myproject/bob, and you want to find
a symbol in the /home/me/myproject/fred directory, the root will find
that commonality.
In semantic 1.4.4, there is no convenience that will reach out into
the header files for those types of searches. cedet 1.0beta1 does
have that ability for C files, which I am in the process of working
the last crash out of so I can finalize the beta. This distribution
also has the shell scripts for pre-building cache files, and
pre-building system cache files from headers in /usr/include, or
wherever.
I'll send email to many lists when the last crash is removed and a
new tar file is uploaded.
Eric
--
Eric Ludlam: za...@gn..., er...@si...
Home: http://www.ludlam.net Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
|