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
 Parentheses '(' do not appear where I type them
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - Apr 11 2011 :  12:51:11 PM  Show Profile  Reply with Quote
My issue is that if I type '(' at the end of a line it doesn't appear where I put it, but rather it appears immediately after the last character on the line.
After some investigation, it appears to be due to Visual Assist's handling of Visual Studio 2010's virtual space.

If I disable Visual Assist, this problem does not occur. I have disabled all Visual Assist options concerning auto-correct and automatic insertion of parentheses & brackets, but the problem still occurs.

As an example, I have this enum (in a C++ file):

enum BVER
{
    BVER_1_00 = 100,    //Original non-PowerDraw m_version
    BVER_2_00 = 200,    //Original PowerDraw m_version (1.0)     (shipped with PowerProject 4.5)
    BVER_3_00 = 300,    //PowerDraw 2.0                          (shipped with PowerProject 5.0)
    BVER_4_00 = 400,    //PowerDraw 3.0 (multi-language support)
    BVER_5_00 = 500,    //PowerDraw 4.0
};

I'm editing the line commencing 'BVER_5_00', I press: 'End' 'Right arrow' '('. The parenthesis moves back to behind the insert position, rather than inserting in the correct place.

feline
Whole Tomato Software

United Kingdom
18959 Posts

Posted - Apr 11 2011 :  4:12:49 PM  Show Profile  Reply with Quote
Which OS and version of VA are you using?
Have you installed SP1 for VS2010 yet?

So far I cannot reproduce this problem, the bracket is being inserted into the correct spot for me with VA 1845 and C++ virtual space enabled.

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

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - Apr 13 2011 :  05:06:30 AM  Show Profile  Reply with Quote
Thanks feline, I retested the problem based on your findings, but can confirm that the problem definitely occurs with Visual Assist enabled, but not with it disabled. My machine details are as follows:

VA_X.dll file version 10.6.1845.0 built 2011.03.13
DevEnv.exe version 10.0.40219.1 Professional
msenv.dll version 10.0.40219.1
Comctl32.dll version 6.10.7601.17514
Windows 7 6.1 Build 7601 Service Pack 1
4 processors (x86-64;
WOW64)

Platform: Project defined
Stable Includes:
F:\\Titan\\Third_Party;
F:\\Titan\\Third_party\\Codejock\\Source;
C:\\Program Files (x86)\\VBA6SDK\\Include;
c:\\Program Files (x86)\\HTML Help Workshop\\include;
c:\\Program Files (x86)\\Common Files\\System\\ado;
C:\\Program Files (x86)\\boost\\boost_1_44;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include;
C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include;
C:\\Program Files (x86)\\Codejock Software\\MFC\\Xtreme ToolkitPro v13.4.0\\Source;
F:\\Titan\\third_party\\gmock-1.5.0\\include;
F:\\Titan\\third_party\\gmock-1.5.0\\gtest\\include;
C:\\Program Files (x86)\\Visual Leak Detector\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files (x86)\\Codejock Software\\MFC\\Xtreme ToolkitPro v13.4.0\\Source;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\crt\\src;

I've also got the following extensions installed:
AnkhSVN
CommandingImage
Productivity Power Tools
Visual Studio Color Theme Editor

I tried disabling the Productivity Power Tools, but this alone did not fix the problem.

I'm just using the (Default) keyboard mapping scheme. I'm normally a 'Brief Emulation' user, so have mapped quite a few Alt+keystroke combinations to macros and other things to get around the lack of true Brief Emulation in VS2010.

I hope that this helps a little. Thanks for investigating.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18959 Posts

Posted - Apr 13 2011 :  1:52:50 PM  Show Profile  Reply with Quote
The OS seems to be a factor. I was initially testing under winXP, but testing under Windows 7 64bit I am now seeing the problem, thank you for the clear description:

case=56773

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

feline
Whole Tomato Software

United Kingdom
18959 Posts

Posted - Apr 15 2011 :  3:35:15 PM  Show Profile  Reply with Quote
As a work around can you try turning On the option:

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

This is fixing the problem for me, and we generally recommend turning this option on in VS2010, since if the IDE's intellisense produces something it should be right, and if the IDE's intellisense does not produce anything VA will step in to help.

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

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - Apr 18 2011 :  05:31:32 AM  Show Profile  Reply with Quote
Thanks feline.
I've turned off the IDE's intellisense though, as it has a bad effect on IDE performance. So I guess this work-around will not help me.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 19 2011 :  01:43:15 AM  Show Profile  Reply with Quote
Sorry for the inconvenience. The bug will be fixed in the next release.
Go to Top of Page

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - Apr 20 2011 :  04:30:36 AM  Show Profile  Reply with Quote
Thanks - that'll be great.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

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

Whole Tomato Software, Inc.
Go to Top of Page

AstaDan
Junior Member

United Kingdom
17 Posts

Posted - May 12 2011 :  05:49:56 AM  Show Profile  Reply with Quote
Excellent - thanks for addressing this so promptly.
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