Perl5-IDEA icon indicating copy to clipboard operation
Perl5-IDEA copied to clipboard

Custom folding regions for Perl plugin

Open stfedosov opened this issue 4 years ago • 4 comments

Dear Perl plugin developers,

It'd be nice to have a feature of custom regions (similar to Java) in Perl plugin: #region {descripton} .. #endregion When you deal with a huge Perl codebase, sometimes it's extremely hard to navigate efficiently. This feature would help to fold some certain regions and do the code markup if necessary.

Thank you!

stfedosov avatar Jul 27 '21 16:07 stfedosov

It will be really great to have this feature in Perl plugin.

supkoder avatar Oct 26 '21 11:10 supkoder

Yes. I also would like to see that working. And also in the form of tag:

... some code ...
# <editor-fold desc="Custom folding">
... some code ...
# </editor-fold>
... some code ...

See the documentation here.

Ashark avatar Nov 25 '23 13:11 Ashark

Is there some wide-used standard for syntax? Perl-specific or language-agnostic?

hurricup avatar Nov 26 '23 07:11 hurricup

The only thing that is language specific is the way how comments are made, i.e. with "#" or with "//". See here.

Ashark avatar Nov 26 '23 13:11 Ashark