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
 Improper tabbing while extending multiline comment
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - Apr 01 2015 :  4:44:16 PM  Show Profile  Reply with Quote
Suppose the following code:

class foo
{
public:
   //////////////////////////////////////////////////////////
   /// Some brief description of the method.
   //////////////////////////////////////////////////////////
   void MyMethod();
};


Place your caret after the period (.) in the comment block above. Press ENTER to extend a new line. I expect the caret to be under the 'S' on the line above, but instead it seems to be tabbed over much further than that.

I'm using VS 2013. VAX version info below.

VA_X.dll file version 10.9.2059.0 built 2015.02.11
DevEnv.exe version 12.0.30723.0 Professional
msenv.dll version 12.0.30723.0
Comctl32.dll version 6.10.9600.17415
Windows 8.1 6.3 Build 9600
8 processors (x86-64, WOW64)
Language info: 1252, 0x409

Edited by - MrDoomMaster on Apr 01 2015 4:44:38 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 02 2015 :  8:02:15 PM  Show Profile  Reply with Quote
I'm getting the following result:



Are you getting a different one?

Not sure why are you getting extra tabs, but it might help if you save and send in your Visual Studio and Visual Assist settings.

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

So I can import them here to see if I'm able to reproduce the problem.

Please use the below form to send the files in, and paste the URL of this topic to the "Your Request" field.
http://www.wholetomato.com/support/contact.asp

Edited by - accord on Apr 02 2015 8:27:14 PM
Go to Top of Page

MrDoomMaster
Tomato Guru

251 Posts

Posted - Apr 02 2015 :  8:10:19 PM  Show Profile  Reply with Quote
Yes I am. I must have a conflict with another plugin. I will try disabling some and try again.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Apr 02 2015 :  8:28:31 PM  Show Profile  Reply with Quote
I have edited my previous post but you replied in the meantime :) If disabling does not help, you can try to send the settings in. If disabling helps, I would be interested which extension caused this problem.

Edited by - accord on Apr 02 2015 8:37:17 PM
Go to Top of Page

MrDoomMaster
Tomato Guru

251 Posts

Posted - Apr 09 2015 :  11:14:46 AM  Show Profile  Reply with Quote
I found the offending plugin:

https://visualstudiogallery.msdn.microsoft.com/a204e29b-1778-4dae-affd-209bea658a59

Turning this off fixed the issue. Sadly I love this extension, it helps me find and correct EOL whitespace :-(

Would you mind investigating if this compatibility issue is due to VAX or the plugin mentioned above? Thanks.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 14 2015 :  10:47:13 PM  Show Profile  Reply with Quote
Thank you for the update, I am seeing the same problem with this extension installed. I have put in a bug report for this:

case=89105

for me, pressing backspace once returns the caret to the correct indent on the new line. Are you seeing the same thing?

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

MrDoomMaster
Tomato Guru

251 Posts

Posted - Apr 15 2015 :  07:27:48 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Thank you for the update, I am seeing the same problem with this extension installed. I have put in a bug report for this:

case=89105

for me, pressing backspace once returns the caret to the correct indent on the new line. Are you seeing the same thing?



It depends. I sometimes see it insert more than one level of unnecessary indentation. In those cases I have to hit backspace any number of times.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Apr 15 2015 :  2:51:56 PM  Show Profile  Reply with Quote
Ah, I am seeing the greater indent now. I did not test further indents at first, but it looks like the extra indent is equal to the indent of the comment, which makes sense. I have put a note onto the case about this.

Can you try pressing Up then Down, or Down then Up, and see if this fixes it? I know its only a work around, but it is fixing the problem for me. Note I am testing with:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Enable virtual space

turned Off. With virtual space turned on moving the caret off the new line and back again has no effect.

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