Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Improper tabbing while extending multiline comment

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
MrDoomMaster Posted - Apr 01 2015 : 4:44:16 PM
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
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 15 2015 : 2:51:56 PM
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.
MrDoomMaster Posted - Apr 15 2015 : 07:27:48 AM
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.
feline Posted - Apr 14 2015 : 10:47:13 PM
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?
MrDoomMaster Posted - Apr 09 2015 : 11:14:46 AM
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.
accord Posted - Apr 02 2015 : 8:28:31 PM
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.
MrDoomMaster Posted - Apr 02 2015 : 8:10:19 PM
Yes I am. I must have a conflict with another plugin. I will try disabling some and try again.
accord Posted - Apr 02 2015 : 8:02:15 PM
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

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