[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editor: Folding sections?


On Wed, Jun 12, 2024 at 5:32 AM Rolf-Werner Eilert <rwe-sse@xxxxxxxxxx>
wrote:

> It is possible to fold/unfold functions and subs in the editor. Very
> handy by times...
>
> But is it also possible to fold greater sections of code? And if yes,
> how do I "mark" a section then?
>
>
>
FWIW, and just putting out an idea, you can create manual code-folding in
Netbeans by surrounding a block of code within "comments" like these:

// <editor-fold defaultstate="collapsed" desc="Whatever description you
want to show">
... blah, ...
... blah, ...
... blah, ...
// </editor-fold>

Regards,
Joe1962

Follow-Ups:
Re: Editor: Folding sections?Rolf-Werner Eilert <rwe-sse@xxxxxxxxxx>
References:
Editor: Folding sections?Rolf-Werner Eilert <rwe-sse@xxxxxxxxxx>