code folding

flamencofantasy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 14 10:23:42 PDT 2017


On Tuesday, 14 March 2017 at 16:58:21 UTC, Inquie wrote:
> On Tuesday, 14 March 2017 at 16:29:15 UTC, Mike Parker wrote:
>> [...]
>
> It's not that I feel strongly about, I simply would like the 
> best useable solution. Like usually what happens, my original 
> post was taken completely out of context:
>
> [...]

static if(true) // region blah
{
    junk...
}

when folded;

static if (true) // #region blah{...}

does that solve your problem?


More information about the Digitalmars-d-learn mailing list