code folding

Inquie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 14 10:34:27 PDT 2017


On Tuesday, 14 March 2017 at 17:07:57 UTC, Adam D. Ruppe wrote:
> 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.

Yeah, that would be better, unfortunately VS/VD doesn't do this.


More information about the Digitalmars-d-learn mailing list