Markus Gritsch wrote:
> klaus.berndl@... wrote:
>=20
>> Markus Gritsch wrote:
>>=20
>>> Jans, Hauke wrote:
>>>=20
>>>> ecb-tagdefinition.el - addition to find a tag in my complete
>>>> project. Currently it f=EDnds the tag only if the file is loaded.
>>>>=20
>>>> Klaus suggested running a shell script for parsing all source
>>>> files, but this has two problems for me:
>>>> - It runs very long (for one directory out of 20 i
>>>> let it run for one hour and it did not complete)
>>>=20
>>> What language do you use? I am programming in C++ and for this
>>> language ebrowse is an excellent choice.
>>=20
>> an excellent choice for what?
>=20
> For that what Jans asked for: "[...] to find a tag in my complete
> project."=20
>=20
>> parsing a code base but using the informations (the tags)
> > without ebrowse?
>=20
> No, using it with ebrowse to jump to definitions and declarations.
>=20
>> Or working completely with
>> ebrowse, i.e. doing what the name suggests, browsing the c++-code?
>=20
> No, using ebrowse just for tag finding and using ECB for the rest.
>=20
>> IMHO ebrowse has a very clumsy user-interaction and integrates not
>> really smart within emacs-working...but of course a matter ot
>> taste...=20
>=20
> I am not going over this again, I already agreed on that. However, I
> am not seeing ebrowse as a foe which must be eliminated, just to use
> CEDET features alone. I was also trying to get CEDET working for me
> to jump=20
> to tag definitions/declarations, but didn't succeed.
>=20
> Having all the files which belong to a project open in Emacs is not a
> choice for me, since the projects I have to work on consist of about
> 1000+ source files, and the script coming with CEDET which should
> generate the database didn't work for me.
>=20
> ebrowse works great, can parse quite sophisticate C++, and does this
> at=20
Markus, how would you rate the parsing-power of ebrowse compared to
the cedet-c++-parser?
> a decent rate of about 100+ files per second, since the parser is
> written in C. So regenerating the BROWSE file is not a pain at all,
> even if I have to trigger it manually due to severe changes in the
> source files. Usually I don't need to do it manully since I have
> automated this process in a .bat file which runs every day at
> midnight.=20
>=20
>> What are the advantages of ebrowse compaired to cedet (and speedbar
>> or ECB)?
>=20
> The tag thing described above.
Well, i assume the tag-database ebrowse generates can be used also
by other tools too (i assume this database is not a binary format?!)...
Then we should write a semanticdb-backend for the ebrowse-tag-database
so we get a fast and well parsed c++-code-completion...
Sounds promising ;-)
Ciao,
Klaus
>=20
> Kind regards,
> Markus
|