[Geany-devel] Geany FTW - better autocompletion

Simone Pellegrini spellegrini at xxxxx
Fri Nov 19 09:51:42 UTC 2010


On 11/18/2010 11:59 PM, Lex Trotman wrote:
> On 19 November 2010 00:18, Colomban Wendling<lists.ban at herbesfolles.org>  wrote:
>> 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++).
> Ok, it hadn't got that far last time I tried it.
>
>>> 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 :)
> +1
>
> Cheers
> Lex
I see then.

As I said I already have a working example based on scintilla, I would 
start studying the plugin architecture of Geany then. I ll keep you posted.

cheers, Simone
>> Regards,
>> Colomban
>> _______________________________________________
>> Geany-devel mailing list
>> Geany-devel at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel




More information about the Devel mailing list