[Geany-devel] Geany FTW - better autocompletion
lists.ban at xxxxx
Thu Nov 18 13:18:32 UTC 2010
Le 18/11/2010 09:12, Simone Pellegrini a écrit :
> I think these kind of support for code competition are obsolete and
> there are new tools popping out that can make the work much more easier.
> For example I have been working for a long time with the clang-LLVM
> compiler. Clang is a C frontend and It offers a very easy interface to
> do code completition on the fly. It's very impressive the way it works
> and it's really fast. I have developed myself a small project where I
> integrated the code completition support on a scintilla based editor and
> it really takes few lines of code.
I also thinks that Clang seems really interesting as a live-code-helper
tool if integrated to the editor/IDE. Not only for completion, but also
for on-the-fly code checking, etc.
This said, and as Lex said, this only applies for C, ObjC, and C++
(AFAIR Clang now compiles boost, so it seems to become usable for C++).
> If you want I can show the code.
> The main problem is whether is a problem for you to have this dependency
> on clang.
For Geany itself, it isn't something possible I think; but for a plugin
it is not a problem.
If you'd write such a plugin, I'd be really interested :)
More information about the Devel