Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX 1225: not using context info?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Apr 06 2004 :  11:12:42 AM  Show Profile
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.

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Apr 08 2004 :  03:04:13 AM  Show Profile
Hello all,

I do agree with Uniwares. It would be very nice if this could be done.

With kind regards,
Patrick Luja
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000