Menu

#2 Guesses of the same name not independent

open
nobody
None
5
2002-06-21
2002-06-21
No

If a guess is made using the same variable twice
(e.g. "start" will complete twice here:

int start = 0;
"someString".substring<complete>
will give
"someString".substring(start, start);

You cannot edit the two template values independently,
since the template engine "links them" -- a change in
one is made to the other. While useful in other
contexts, this is a problem for the code-completion
guessing.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB