code folding

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 14 10:07:57 PDT 2017


On Monday, 13 March 2017 at 17:29:41 UTC, Inquie wrote:
> Does D have any nice way to specify a block for cold folding?

I personally sometimes use

// some description {

// }

since my editor does a really good job matching {}, even in 
comments so it is convenient to jump anywhere, and i can search 
the description text to get back to it from anywhere.

I can fold it too but i personally prefer just jumping it than 
actually folding it.


More information about the Digitalmars-d-learn mailing list