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
 Feature Requests
 try/catch block
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tgraupmann
New Member

USA
4 Posts

Posted - Aug 28 2008 :  12:59:58 PM  Show Profile  Reply with Quote
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.

--
Tim Graupmann
http://tagenigma.com

kevinsikes
Tomato Guru

USA
271 Posts

Posted - Aug 28 2008 :  4:30:59 PM  Show Profile  Reply with Quote
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.

Kevin Sikes
Infotainment Platform Design Engineer
Ford Motor Company
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