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
 extra space inserted after commenting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

not_happy0
New Member

7 Posts

Posted - Sep 19 2006 :  6:21:17 PM  Show Profile  Reply with Quote

in the recent release of VAX, after the commenting there is a space inserted into the code. This make it uncompatible with the native VStudio uncommenting ?

etc, before:

//Test

now:

// Test

is there any option i need to change to get back the orginal behavoir ?
thx in advance

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 19 2006 :  7:41:31 PM  Show Profile  Reply with Quote
I'm not sure what you mean. Is it from autotext producing the comment?

What are you doing exactly that causes the space to appear?

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Sep 20 2006 :  03:12:31 AM  Show Profile  Reply with Quote
I would guess that the OP means that "surround with /" does this.

Which IDE, and which version of VA?

Joe Pizzi
Go to Top of Page

not_happy0
New Member

7 Posts

Posted - Sep 20 2006 :  7:20:52 PM  Show Profile  Reply with Quote
oops, sorry for missing the details.
yes, it is from the "surround with /" (ie hilite the word "Test" and press "/" key)

this is with VS2003 and VS2005, and VA 10.3.1534
thx again
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Sep 22 2006 :  02:14:57 AM  Show Profile  Reply with Quote
This is how it is working for me, too. Can you tell me which version of VA you had when it worked like you desire? That might help to track down the issue and resolve it.

Joe Pizzi
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 22 2006 :  02:27:05 AM  Show Profile  Reply with Quote
That behavior is by design. You should use the native commenting if you want to use the native uncommenting. The VA uncommenting is invoked by the same key used to comment: /
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Sep 22 2006 :  02:38:34 AM  Show Profile  Reply with Quote
What is the benefit of having them work differently? Just asking...

Joe Pizzi
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 22 2006 :  02:50:46 AM  Show Profile  Reply with Quote
They differ in more than just the space. VA puts the slashes in the first column. VS puts the slashes in the column before the text on the line.
Go to Top of Page

not_happy0
New Member

7 Posts

Posted - Oct 10 2006 :  11:52:22 PM  Show Profile  Reply with Quote

i am ok with using VA comment/uncomment together. And i am not sure which version work like this before (at least 4-5 months ago).

also, one other problem is that after VA commenting, it change the Tab into actual spaces -- which is another anonying thing. thx
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Oct 11 2006 :  12:22:56 AM  Show Profile  Reply with Quote
I can comment and uncomment a selection, and the tabs stay (which is amazing, since I have "convert tabs to spaces" turned on).

Can you give us more specifics of when you are seeing this happening?

BTW, tested with VAX 1534 and VS2005.

Joe Pizzi
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Oct 11 2006 :  01:18:46 AM  Show Profile  Reply with Quote
quote:
Originally posted by not_happy0


i am ok with using VA comment/uncomment together. And i am not sure which version work like this before (at least 4-5 months ago).


In older versions one form of comment (but not all forms) did not insert a space but all forms of uncomment did remove a space. It changed in the last year so that comment/uncomment are at least consistent.


quote:

also, one other problem is that after VA commenting, it change the Tab into actual spaces -- which is another anonying thing. thx



Like Joe, I don't experience this. Is it specific to a particular editor (C/C++ vs C#)?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Oct 11 2006 :  12:46:19 PM  Show Profile  Reply with Quote
i always keep tabs in my source files, and i have never seen VA convert tabs to spaces on commenting or un-commenting.

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