Re: [Vala] state of the art in vala code-completion?



Hi,

I'm Andrea the author of afrodite, I'm not active any more on vala
development due to lack of free time ;) but I'm still subscribed to the
list and I also do some spare project with vala (I like this language ;) )

I don't think that afrodite is the way to go (read: it requires a rewrite),
even if was somewhat functional there are some cricial design problems with
it:

1) it uses a mix coroutines (async/yield) and threads instead of only
threads for cpu bounds computation (parsing and resolving symbols)
2) it doesn't have any structured concept of scope (eg. a symbol represent
also a scope if required)
3) its code is not very clean
4) it's complex, it has leaks and it's difficult to debug

The plus points are:

1) Was the very first library that provides autocompletion for vala in
gedit :)
2) It uses libvala directly so support for genie was possible, even if
never properly implemented
3) It has basic support for generics

HTH, goodluck!

Andrea


On Mon, Mar 16, 2015 at 4:20 AM, Robert Schroll <rschroll gmail com> wrote:

On Sat, Mar 14, 2015 at 3:07 AM, Nick Watts <fatalglory gmail com> wrote:

Does anyone out there know what is currently the most promising solution
for vala code intelligence?  How far along is it in terms of
features/stability?


I've been using Valencia [1] in Gedit for some time now.  It provides
autocompletion, function signatures, and a few other things.  What I like
most is the ability to jump to a function definition from any use. This
works both for functions in your project as well as those defined
externally.  (You get the vapi file, not the C source, but I generally
prefer that.)  It's extraordinarily helpful when trying to get a grip on an
unfamiliar codebase.

I haven't played with any other similar projects for vala, so I can't
offer comparisons.

Hope that helps,
Robert

[1] https://wiki.gnome.org/Projects/Valencia


_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list



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