Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Surround With in VB

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
Mike ONeill Posted - Oct 17 2008 : 09:57:20 AM
Hi

I had to "revert" to VB recently and I tried to do Surround With across a block of code to surround with Try Catch

All I was offered was #Region #End region and some ( ) Bracketting

I normally use C# and see no problem there in either Vs2005 or VS 2008, is this deliberate

VS 2005
VAX 1649
XP Sp2

Cheers

Mike
2   L A T E S T    R E P L I E S    (Newest First)
Mike ONeill Posted - Oct 20 2008 : 03:46:03 AM
Thanks

I really must engage the brain occasionally
accord Posted - Oct 17 2008 : 5:10:58 PM
This is simply because Visual Assist shipped with less default Snippets for VB, than for C# and C++.

You can add your own snippets here:

VA Options -> Advanced -> Suggestions -> Edit VA Snippets (button)

Here expand "VB" node.

Snippets contains "$selected$" will be included in the "Surround With" menu.

This is a C# example for this type of snippet:

for ($end$)
{
	$selected$
}


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