Re: [Vala] Autocomplete with Vala



On 2007-09-27 20:33:12 (+0000), J?rg Billeter <j bitron ch> wrote:

On Thu, 2007-09-27 at 16:24 -0400, Kevin Kubasik wrote:
Wow! Its great to see the interest! I'll hold up on actual
implementation for a little bit. Probably until I hear something about
the new C parser.

The C parser in gen-introspect is not needed for code completion, you
should just use the information from the VAPI file via libvala.

Ah ok, you don't need to parse the VAPI files yourself. :) What I was
referring to in my previous mail is that with a new parser very subtle
differences in the VAPI files (like indentation or number of spaces or
whatever) could be introduced (even by accident), which would make a
simple parser, which is not built to be robust, possibly fail. But if
this is taken care of by libvala then by all means ignore my previous
comment.

Another thing, I'm trying to determine exact syntactical rules for
vala (primarily where/how they differ from those of C#) any guidance
or documentation in this regard would be awesome.

We're still working on the documentation part, will hopefully be able to
invest more time for that in the following weeks.

On 9/27/07, Jan Van Buggenhout <chipzz safehex be> wrote:
I think code completion (or is it syntax highlighting?) is being worked
on for anjuta.
Hmmm, I'll investigate, syntax highlighting would be cool but what we
really need is to just get vala syntax highlighting into
gtksourceview, then prettymuch everyone we care about will be able to
inherit it ;)

gtksourceview 2.0.0 already comes with Vala support :)

Jürg

kr,

Chipzz AKA
Jan Van Buggenhout
-- 

------------------------------------------------------------------------
                 UNIX isn't dead - It just smells funny
                           Chipzz SafeHex be 
------------------------------------------------------------------------
"Baldric, you wouldn't recognize a subtle plan if it painted itself pur-
 ple and danced naked on a harpsicord singing 'subtle plans are here a-
 gain'."



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