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
 Feature Requests
 Doesn't work correctly with template parameters.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tailsu
Senior Member

37 Posts

Posted - Aug 30 2007 :  07:12:12 AM  Show Profile  Reply with Quote
When writing something in the lines of

template <class Socket>
class Sink
{
// here, when trying to type 'Socket',
// VAX suggests anything but 'Socket',
// usually even replacing anything you type.
};

This would be a very welcome bugfix for library writers, methinks.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 30 2007 :  08:49:11 AM  Show Profile  Reply with Quote
Interesting, and a little unexpected. I normally just use T for my parameter when writing a template class, so never noticed:

case=8462

Using your example code VA shows "Socket" in italics for me, so this is a known symbol from elsewhere, which might explain the odd results you are seeing. If you go with a more unusual parameter name then the problem of the text being replaced should go away.

zen is the art of being at one with the two'ness
Go to Top of Page

tailsu
Senior Member

37 Posts

Posted - Aug 31 2007 :  03:35:26 AM  Show Profile  Reply with Quote
yeah, or just press Esc before going onward. :)

However, I still press on that it would be nice for VA to be able to complete template parameters..


template <class SomethingNotExistingAnywhere>
class Tester
{
public:
Tester();
~Tester();
protected:
typedef SomethingNotExi doesn't want to auto-complete here ;_;
private:
};
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 31 2007 :  08:46:00 AM  Show Profile  Reply with Quote
Agreed. I have put in a bug report for this, which is case=8462

http://docs.wholetomato.com?W318

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000