I suggest you ...

Add the option to collapse try-catch blocks

Sometimes, adding many try-catch blocks to the code makes it harder to follow the main idea of the application. I believe that adding some ellipsis notation (similar to the notation used when a function is collapsed) to the try-catch block could help make the code more readable.
I just think that it would be great if I could read my code with no exception handling at all. If I wanted to read the exception handling code, I could always expand the specific section of code.

5 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Andy RuizAndy Ruiz shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Andy RuizAndy Ruiz commented  ·   ·  Flag as inappropriate

        Instead of:
        try
        {
        pointIdReader = myCommand.ExecuteReader();
        }
        catch (Exception e)
        {
        Console.Error.WriteLine("Error getting list of points: " + e.Message);
        return;
        }
        Maybe something like:
        [Try+] pointIdReader = myCommand.ExecuteReader();

      Feedback and Knowledge Base