Re: [anjuta-devel] Code assistance plugin



Hi Abderrahim,


Le 14/04/2012 14:47, Abderrahim Kitouni a écrit :
I may be slightly late, but here are my thoughts anyway.

Not at all, such discussion shouldn't be done in a hurry.


I don't know. My understanding is that we want to use libclang the same
way as we use the libvala in the Vala plugin (or perhaps a little more).

Yes, I think too but I imagine the Vala language support plugin doesn't use the symbol-db plugin. Does it mean that we will not use the symbol-db plugin for C neither?


I don't know about python (but I think the current plugin uses rope,
while gedit's uses the ast module), but for C I think using an actual
compiler would give better results than we have now.

Yes, the current python plugin uses rope. I think clang will give better result too so it is useful to use it but it will change the current architecture of the C language support plugin.


I think that using clang means making the C plugin do more or less the
same thing as is currently done in the Vala plugin: by using a real
compiler, we can have a better understanding of the code and thus get
better results for the completion. I think symbol-db could still be
useful for other languages (the javascript plugin as also using it) and
for the symbol list.

We can keep symbol-db only for javascript and other languages but it will decrease its usage a lot. Then a big part of the symbol db plugin is the database management, do you think it's still useful?

Then, the gedit plugin is composed of 3 plugins, one of them group all common functions. It probably make sense to have something similar in Anjuta and so write a plugin used by Vala, Python and C language support plugin.



Regards,

Sébastien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]