New Response

« Return to the blog entry

You are replying to:

    • avatar
    • CJ
    • Posted on Wed 2 Feb 2011 02:08 AM

    In comparison with the (Eclipse based?) IDE in Notes, the Visual Studio one is brilliant.

    Something else you might not be aware of, but which is useful like Ferdy's quick tip, is the ability to create regions in your code so you can keep it tidy. For example you could put:

    #region using

    using System;

    using System.Generic.Collections;

    using System.Linq;


    This makes that region, and gives you the ability to collapse it and only display the text after the #region keyword. Once your code files get bigger this is a really nice way to collapse the bits you're not interested in, and only see the parts you want to concentrate on.

    Common ones I create are 'declarations', 'properties', 'constructors' etc., for sections of code that a lot of the time you create and then don't need to see too often.

Your Comments