Community
Participate
Working Groups
How about this also: int a; int i = aMethod(a <code complete> only list out the choice of aMethod with the first parameter is an integer (assume aMethod() is overload) If aMethod() only takes an integer, code complete will print ");" And if you have this: int j = aMethod(a, <code complete>, 6) + 3; It fills in only the possible parameters for aMethod() for the user. Basically, the code complete engine not just look at the text from the beginning of the line to the current cursor. It also looks at the text from the cursor to the end of the line. Thanks again.
Looking on the right side is forbidden for completion behavior. When editing code, it would be highly counter-intuitive. We try to be smart when looking at things on the left though. In your first example, if you type a bonus comma behind the first argument, we will only propose methods accepting an 'int' as a first argument. How about we investigate removing the need for the bonus comma instead ?
Not sure we need to do anything on this.
Closing, won't change to look on the right of cursor (we are only completing the code on the left).