Re: [anjuta-devel] Code assistance plugin
- From: Moritz Lüdecke <ritze skweez net>
- To: <anjuta-devel-list gnome org>
- Subject: Re: [anjuta-devel] Code assistance plugin
- Date: Wed, 18 Apr 2012 14:42:03 +0200
Hi Sébastien,
On Mon, 16 Apr 2012 21:46:07 +0200, Sébastien Granjoux wrote:
I think keeping the symbol database is still useful. At least I would
like that we define some new interface in order to be able to use
clang, ctags or something else to provide the same features (auto
completion, displaying symbol list...)
Perhaps we can get something like:
* All language support plugin calls the symbol-db plugin.
* The symbol-db plugin contains only the database management and some
interface for listing and searching a symbol. It uses some various
parser plugins for each language
* For C, we can have a parser plugin using ctags or a parser plugin
using clang.
But perhaps the database is really not needed for clang, so in this
case the symbol-db plugin could keep only the GUI and the database
management is pushed in the parser plugin using ctags. I don't know.
This sounds good.
I'm still not familiar with the code of anjuta, but if I understand it
right, maybe we can save somewhere the need of symbol-db (and some more
rules, if required), so first the symbol-db looks of the need of itself
(and the rules) and deal it correspondingly. This makes the code modular
and we can easy extend symbol-db in future.
Regards
Moritz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]