[Mono-dev] csharp tab completion.
marek.safar at seznam.cz
Mon Mar 16 11:57:06 EDT 2009
> A follow up: this contains a cleaned up version of the patch, a few
> old hacks have been removed, and the sample now actually builds.
I looked at the parser and it does not seem to work correctly. Type
"4.Tr" move to "." and hit TAB. Secondly, instead of rewriting token in
tokenizer it can be easier to just handle the token specially in the
parser at few places where you want to support completion.
I have not looked much at new expressions but again why not just use
existing expression and introduce only new override.
For code like 1.To<TAB>
you could create normal expressions up to "To" then insert
CompletionExpression and continue as usual. CompletionExpresion will
then redirect Resolve to ResolveCompletion.
More information about the Mono-devel-list