Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Doesn't work correctly with template parameters.

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
tailsu Posted - Aug 30 2007 : 07:12:12 AM
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.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 31 2007 : 08:46:00 AM
Agreed. I have put in a bug report for this, which is case=8462

http://docs.wholetomato.com?W318
tailsu Posted - Aug 31 2007 : 03:35:26 AM
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:
};
feline Posted - Aug 30 2007 : 08:49:11 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000