[Mono-dev] csharp tab completion.

Marek Safar marek.safar at seznam.cz
Mon Mar 23 13:12:12 EDT 2009


Hi,
>> I have not looked much at new expressions but again why not just use 
>> existing expression and introduce only new override.
>>     
>
> That was my original intention.   
>
> The problem is that we need ExpressionStatements to do completions
> instead of having bare-bones expressions as completion happens at spots
> where all we can get is a statement expression.
>
> This made it unsuitable for extending the existing classes.
>   
My idea was different.

Use existing expression types and just add a new overload where 
necessary. Then use special type completion expression to redirect to 
this new overload at the position where tab was pressed.

Marek


More information about the Mono-devel-list mailing list