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
 Insert () placing unwanted ()
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jhirst
Starting Member

Australia
1 Posts

Posted - May 05 2009 :  8:44:03 PM  Show Profile  Reply with Quote
Version 10.5.1715.0

I have the Insert () and closing })]'" option turned on.

For example, I have a class PlayerCharacter. When I want to create a function SetPlayerCharacter(PlayerCharacter * a_playerChar) a '()' is automatically placed after 'PlayerCharacter' when I am typing. I then have to delete the '()' before continuing.

This behaviour is quite new. I have turned the option off for now, but I no longer have the closing braces filled out for me.

Is this a known issue? Will it be fixed?

sean
Whole Tomato Software

USA
2817 Posts

Posted - May 05 2009 :  9:59:32 PM  Show Profile  Reply with Quote
Sorry about that. This was fixed in build 1721. case=23119
Go to Top of Page

ShadowIce
New Member

4 Posts

Posted - Mar 23 2011 :  12:57:26 PM  Show Profile  Reply with Quote
Something like this happens here with version 10.6.1842.0 and Visual Studio 2010 SP1 (doesn't seem to be happening under VS2005).

It happens when I type something like "Logging.Log(" which results in "Logging.Log(())". This doesn't happen if I type "Logging." then switch lines, get back and type "Log(". It also doesn't happen with all methods from that class and I think it has something to do with the fact the the methods are templated.

Some probably related examples:
"std::vector<int> v; v.begin(" => "std::vector<int> v; v.begin()()" (one () too many)
"boost::tuple<int, int> t; t.get<" => ""boost::tuple<int, int> t; t.get()<" (should not insert anything at all)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Mar 24 2011 :  4:06:16 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=56276

If you accept the function from the listbox then I only get one set of round brackets. Also turning on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

fixes the problem for me, but I am not sure why this has this effect.

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

support
Whole Tomato Software

5566 Posts

Posted - May 12 2011 :  12:54:55 AM  Show Profile  Reply with Quote
case=56276 is fixed in build 1848

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