Author |
Topic  |
|
AstaDan
Junior Member
 
United Kingdom
17 Posts |
Posted - Apr 11 2011 : 12:51:11 PM
|
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
19177 Posts |
Posted - Apr 11 2011 : 4:12:49 PM
|
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 |
 |
|
AstaDan
Junior Member
 
United Kingdom
17 Posts |
Posted - Apr 13 2011 : 05:06:30 AM
|
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. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19177 Posts |
Posted - Apr 13 2011 : 1:52:50 PM
|
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 |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19177 Posts |
Posted - Apr 15 2011 : 3:35:15 PM
|
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 |
 |
|
AstaDan
Junior Member
 
United Kingdom
17 Posts |
Posted - Apr 18 2011 : 05:31:32 AM
|
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. |
 |
|
sean
Whole Tomato Software
    
USA
2817 Posts |
Posted - Apr 19 2011 : 01:43:15 AM
|
Sorry for the inconvenience. The bug will be fixed in the next release. |
 |
|
AstaDan
Junior Member
 
United Kingdom
17 Posts |
Posted - Apr 20 2011 : 04:30:36 AM
|
Thanks - that'll be great. |
 |
|
support
Whole Tomato Software
    
5566 Posts |
Posted - May 12 2011 : 12:54:13 AM
|
case=56773 is fixed in build 1848 |
Whole Tomato Software, Inc. |
 |
|
AstaDan
Junior Member
 
United Kingdom
17 Posts |
Posted - May 12 2011 : 05:49:56 AM
|
Excellent - thanks for addressing this so promptly. |
 |
|
|
Topic  |
|