[MonoDevelop] Some questions

Kamil Skalski kamil.skalski at gmail.com
Thu Mar 2 15:48:39 EST 2006


2006/3/2, Jacob Ilsø Christensen <jacobilsoe at gmail.com>:
> Hi.
>
> I am afraid I don't know exactly what you want to do. In this example:
>
> void M()
> {
> int a;
> int b;|
> int c;
> }
>
> The cursor is indicated by |. Is what you want to retrieve this piece of code:
>
> int a;
> int b;
>
> ?

Yes. In short it is the exact information needed for context-sensitive
code completion, like:

void M() {
  string a;
  a = foo ();
  a. |
}

In the caret | location we need the whole  "
  sting a;
  a = foo ();
"
piece of code in order to compute which are the possible completions for "a."






--
Kamil Skalski
http://nazgul.omega.pl


More information about the Monodevelop-list mailing list