Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Unwanted behavior when typing ")"

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
fredbloggs Posted - Jun 23 2014 : 03:14:39 AM
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
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 26 2014 : 10:29:57 AM
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.
fredbloggs Posted - Jun 26 2014 : 02:14:26 AM
Thanks, confirmed that turning on that setting resolves the issue for me.
feline Posted - Jun 26 2014 : 12:00:33 AM
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
fredbloggs Posted - Jun 24 2014 : 9:36:30 PM
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.
feline Posted - Jun 24 2014 : 1:56:47 PM
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.
fredbloggs Posted - Jun 23 2014 : 7:51:27 PM
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:
feline Posted - Jun 23 2014 : 11:06:57 AM
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?

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