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
 Unwanted behavior when typing ")"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fredbloggs
New Member

9 Posts

Posted - Jun 23 2014 :  03:14:39 AM  Show Profile  Reply with Quote
I'm using C++. Let's say I want to type "if (bla)".
1) I start with "if (". VA closes the bracket, so "if ()" appears. All good.
2) I type "bla". VA shows a suggestion listbox with "BLACKNESS" highlighted, since no symbol "bla" is known yet. That's fine.
3) I type ")" to indicate I don't want the highlighted suggestion. What happens is (a) the suggestion replaces my text, and (b) an extra ")" appears. So it ends up "if (BLACKNESS))".

In the "Listboxes" options in VA, only "Tab" and "Enter" are ticked. Why did it act as if ")" should also commit the selection? How do I fix this?

Thanks

feline
Whole Tomato Software

United Kingdom
17567 Posts

Posted - Jun 23 2014 :  11:06:57 AM  Show Profile  Reply with Quote
Strange, I am not seeing either problem here. Lets start with the basics, which IDE and version of VA are you using?

Can you reproduce this on demand, or was this a one off problem?

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

fredbloggs
New Member

9 Posts

Posted - Jun 23 2014 :  7:51:27 PM  Show Profile  Reply with Quote
I can repro this on demand. I suspect a config issue either in the IDE or in VA. Disabling VA resolves the issue.

Here's my "Copy Info"

VA_X.dll file version 10.8.2036.0 built 2014.05.22
DevEnv.exe version 12.0.30501.0 Ultimate
msenv.dll version 12.0.30501.0
Comctl32.dll version 6.10.9600.17031
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0xc09

Platform: Project defined
Stable Includes:

Other Includes:

Stable Source Directories:
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17567 Posts

Posted - Jun 24 2014 :  1:56:47 PM  Show Profile  Reply with Quote
I am still not seeing this, testing VS2013 with VA 2036.

Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. A settings issue is certainly possible, but off the top of my head I cannot think of a settings combination that would cause this behaviour.

Please submit the files via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up.

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

fredbloggs
New Member

9 Posts

Posted - Jun 24 2014 :  9:36:30 PM  Show Profile  Reply with Quote
Thanks, I've sent my settings to you.
More info: it seems this is due to an interaction between Productivity Power Tools and VA.
Disabling either one of these resolves the issue.

I can't see any option in either VA or Productivity Power Tools to resolve it though, and I'd like to use both.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17567 Posts

Posted - Jun 26 2014 :  12:00:33 AM  Show Profile  Reply with Quote
Thank you for your settings, I am seeing the same problem here. Its actually not caused by Productivity Power Tools, I can reproduce this without this extension. For now, turning On:

VA Options -> Suggestions -> Include suggestions in listboxes

should help. It looks like VA is effecting the focus in some listboxes, especially when suggestions are turned off:

case=83212

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

fredbloggs
New Member

9 Posts

Posted - Jun 26 2014 :  02:14:26 AM  Show Profile  Reply with Quote
Thanks, confirmed that turning on that setting resolves the issue for me.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17567 Posts

Posted - Jun 26 2014 :  10:29:57 AM  Show Profile  Reply with Quote
Thank you for the update, it is good to know that this has helped. Since VA suggestion listboxes appear frequently, and all over the place, they are designed not to "grab" input, so you don't accept them when you don't want to. With these turned off, you were getting a listbox that was more interested in being accepted and entered.

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:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000