string somefunc()
{
string retVal;
// do some stuff
return retVal;
}
In the above sample VAX shows one a bit annoying behaviour in the last code line. When you type "ret" the first time, the autotext comes up suggesting "return", fine. Accepted with enter, typing space and "ret" again, the suggestion list comes up with "retVal" and "return" in the list. But, "return" is preselected in this list and I have to navigate and select. When I continue typing the list disappears and I have to manually complete the name.
VAX should "know" that using the same word twice is very unlikely, and deducing from the context (keyword return), it should not suggest non-type symbols.
This happens to me pretty often with other symbol names too. Using the prefix "r" for references, lets me often with exactly this wrong suggestion.