Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 try/catch block

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
tgraupmann Posted - Aug 28 2008 : 12:59:58 PM
I use try/catch a lot in C# 2005 and VA slows me down. If I have existing code on a line and start to enter try before it, I want that code to go into the try catch block. But VA puts the code after the catch block.

This means I have to empty my clipboard and move the code into the try catch block.
1   L A T E S T    R E P L I E S    (Newest First)
kevinsikes Posted - Aug 28 2008 : 4:30:59 PM
We support this through the Surround With feature. Highlight the lines you want to include in the try block, then right click and choose Surround With (VA X) , then choose one of the try snippets from the context menu.

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