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. |
|
|