I THINK JC is now closing off my braces (which is nice for the mist part)
But when I put a "try{" at the top of some code it closes that off on the same line forcing me to delete it
Is there a way to wrap code in a try\catch?
2 Answers, 1 is accepted
0
Deyan Varchev
Telerik team
answered on 19 Jul 2010, 04:20 PM
Hi Steve,
The behavior that you describe is most probably caused by JustCode's typing assistance feature. You can enable/disable it from the JustCode | Options | General. What you want to achieve is possible using JustCode's templates. First select the code you want to surround with try/catch. Then hit Alt + End (or select from JustCode's menu "Show Available Code Commands...") in order to show the "Code" menu. There you will be presented with all current "surround with" templates and the try/catch template is there. After selecting it JustCode will surround your code with a try/catch statement.
I hope this helps and if you have any other suggestions or problems, please don't hesitate to write back.
Kind regards,
Deyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
I can't find the "Surround With" option in Visual Basic.
I created a Surround Template (I copied the C# one and change the syntax to VB) but there is still no option that I can see.
If this is not implemented in JustCode for VB, please add it. Microsoft had surround with refactorings for VB in Visual Studio 2008 then removed them in 2010. I really miss those...