Advertisement

05.28.2008 at 06:06AM PDT, ID: 23437892
[x]
Attachment Details

How can I collapse a Try/Catch code block and/or navigate from the Try to the Catch in Visual Studio 2005?

Asked by jamesspo in .Net Editors & IDEs, .NET, Visual Studio

Tags:

I'm trying to figure out how to do two things in the Visual Studio 2005 IDE for VB.net code:

1. Within a function or subroutine, navigate between the 'Try/Catch/Finally/End Try' tokens or the 'If/Elseif/End If' tokens using keyboard shortcuts.  Is there a keyboard combination which would allow me to jump from an 'End Try' line to the prior token in the Try statement?

2. Is there a way to collapse/expand a Try or If block in the IDE?  I read about regions, but I don't think they can be used within a method.  So it won't work for what I'd like to do.

Does anyone have suggestions of how to do this within Visual Studio or have links to add-on's that would provide this functionality?

Thanks...Start Free Trial
 
Loading Advertisement...
 
[+][-]05.28.2008 at 06:24AM PDT, ID: 21660125

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 06:47AM PDT, ID: 21660334

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 06:59AM PDT, ID: 21660440

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 07:20AM PDT, ID: 21660622

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 07:53AM PDT, ID: 21660966

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 08:14AM PDT, ID: 21661151

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 08:40AM PDT, ID: 21661443

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 02:31PM PDT, ID: 21664544

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 02:59PM PDT, ID: 21664723

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, .NET, Visual Studio
Tags: vb.net / visual studio 2005 / .net 2.0
Sign Up Now!
Solution Provided By: elimesika
Participating Experts: 1
Solution Grade: B
 
 
[+][-]06.05.2008 at 08:04AM PDT, ID: 21720357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628