code folding
    Inquie via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Mon Mar 13 10:29:41 PDT 2017
    
    
  
Does D have any nice way to specify a block for cold folding? I 
have a very large set of structs and I'd like to be able to code 
fold them all at once and together.
I have been using
static if(true)
{
     ... junk
}
but the static if is uninformative since that is the only line 
that is shown when folded. A comment helps but still kinda ugly.
C# has #regions and hopefully D has something as useful.
    
    
More information about the Digitalmars-d-learn
mailing list