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
 What happened to // selection?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

asmout
Ketchup Master

58 Posts

Posted - Mar 02 2004 :  07:41:14 AM  Show Profile
I used to have a VAX toolbar button marked "//" that would comment a selection. Its gone! How can I get it back? I tried customising the toolbar, but there is no button for this command anymore :-(

I don't like C-Style comments...

support
Whole Tomato Software

5566 Posts

Posted - Mar 02 2004 :  11:59:06 AM  Show Profile
We assume you have VC++ 6.0.

In our effort to make consistent the toolbars and commands we offer for VS.NET and VC++ 6.0, we dropped the // command from VC++ 6.0. The mistake was an oversight. We will look for a resolution, either returning // or changing the /* that we offer.

You might try enabling "Surround selection" on the Text Editor|General node of our options dialog. Select and type / to surround your selection with a comment. (The / command knows when it can use // and when it must use /* only.)

As a general comment, the more information you provide about a problem, the more likely others will comment and the more likely we are to fix it. Details are good.

Whole Tomato Software, Inc.
Go to Top of Page

asmout
Ketchup Master

58 Posts

Posted - Mar 02 2004 :  2:04:44 PM  Show Profile
Thanks for the tip.

You are right, I do have VC6. Info below:

VA_X.dll file version 10.0.1217.0
Licensed to:
VAOpsWin.dll version 1.0.0.40
MSDev.exe version 6.0.8168.1
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.81.4916.400
WindowsNT 5.0 Build 2195 Service Pack 4
Single processor

Platform: Win32 (x86)
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\STLport\\stlport;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:

Go to Top of Page

phyman
New Member

9 Posts

Posted - Mar 08 2004 :  12:57:13 PM  Show Profile
I too would like very much to have this option returned. I also would like to have both the line comment and the block comment function have the option to be bound to a keystroke in VS 6 if this is feasible.

Thanks and keep up the good work!

--Paul

VA_X.dll file version 10.0.1219.0
Licensed to:
VA 6.0:
VA 4.1:
VAOpsWin.dll version 1.0.0.40
MSDev.exe version 6.0.8168.2
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Terminal -12(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Win32 (x86)
Stable Includes:
C:\\FRAMEWORK\\LIBRARIES\\MSSDK\\INCLUDE;
C:\\DXSDK\\INCLUDE;
C:\\FRAMEWORK;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio .NET\\FrameworkSDK\\include;
C:\\FRAMEWORK\\LIBRARIES\\DXSDK\\INCLUDE;
C:\\LIBRARIES;
C:\\COMPONENTS;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 09 2004 :  1:16:04 PM  Show Profile
For now, make sure you know about "Surround selection."

http://www.wholetomato.com/x/products/features/surround.html?more=yes

Whole Tomato Software, Inc.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Mar 09 2004 :  6:22:50 PM  Show Profile
quote:
(The / command knows when it can use // and when it must use /* only.)



Is this new to VA X? Because I am using VA 1106 on VS .NET 2003, editing a .c file, and it is putting // in when I use the / keystroke (surround on selection is on).

Joe Pizzi
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 09 2004 :  8:03:17 PM  Show Profile
Though your description is short, we believe VA.NET 7.1 1106 might be doing what it should do. Select a few lines and press / to comment the lines. Type / again to remove the comment symbols.

If you have no selection, / inserts a / as usual.

Whole Tomato Software, Inc.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Mar 10 2004 :  11:06:23 AM  Show Profile
What I am doing is editing C code (not C++). I want to comment out several lines of code. I highlight the code, then hit the "/" key. In C code, this should comment out the selection with "/*", not with "//".

How VA .NET 1106 works, however, is that if the selection includes an EOL character, it uses "//" as the comment character(s).

Joe Pizzi
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 15 2004 :  6:25:31 PM  Show Profile
Build 1220 replaces /* command with the more popular // command.

We still have plans to add separate commands for commenting of lines and blocks.

Whole Tomato Software, Inc.
Go to Top of Page

Old as dirt
Tomato Guru

USA
246 Posts

Posted - Mar 26 2004 :  7:04:15 PM  Show Profile
I suppose I should have spoken up earlier, but I liked the button that had /* and I used the / from the keyboard to get the c++ comments before I installed 1220 and 1221. Can we custimize the toolbar to get the old /* button back?

Ken
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000