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
 VA X 1202: Autocompletion and tooltips
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PatLuja
Tomato Guru

Belgium
416 Posts

Posted - Nov 25 2003 :  11:41:11 AM  Show Profile
Hello all,

I want to report about autocompletion and tooltips.

See the following code:
class SomeClass
{
  void DoSomething() {}
  void DoSomething(int i) {}
};
SomeClass someObject;
When I type "someObject." a listbox appears with "DoSomething" selected and a tooltip indicating "void DoSomething() {...}".
I have two remarks on this:
a. One can't see that there is also a "void DoSomething(int i) {...}", so maybe the tooltip could indicate "void DoSomething(...) {...}" or "void DoSomething() {...} [1 of 2]"
b. If I accept "DoSomething", the cursor is placed after "()". I would expect the cursor to be inside, so between "(" and ")", because one could enter something here (due to the second form, with int i). If one doesn't want to do that, he/she will press the right arrow key. This is more natural than pressing the left arrow key, in my opinion.

Thank you in advance.

With kind regards,
Patrick Luja

support
Whole Tomato Software

5566 Posts

Posted - Nov 26 2003 :  10:20:40 PM  Show Profile
We could only reproduce this if the class is defined with in a source file. Once we placed it in a header file, it worked correctly. We see the problem and it is on the list.

Thanks.

Whole Tomato Software, Inc.
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