Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1724: spurious parentheses appended to std::endl

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
SamHocevar Posted - Jun 25 2009 : 06:32:33 AM
When autocompleting "std::e", for instance when writing
std::cout << "Hello world" << std::endl;
Visual Assist X insists on writing "std::endl()", appending parentheses that need to be manually removed. This is frustrating because it interrupts the typing flow. VAX should go the least astonishment path for such common C++ uses.

When VAX is disabled, the standard Visual Studio 2008 autocompletion method completes "std::e" to "std::endl" (with no parentheses), as I would expect.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jun 25 2009 : 4:55:37 PM
I am seeing the same effect here. Thank you for the clear description.

case=23289

For now, you can paste these lines into Visual Assist's stdafx.h:

#define endl
#define ends
#define flash

as a workaround. You can learn more about Visual Assist's stdafx.h here:
http://docs.wholetomato.com?W302

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