Camelcade / Perl5-IDEA

Perl5 plugins for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/7796-perl/
Other
406 stars 75 forks source link

Custom folding regions for Perl plugin #2414

Open stfedosov opened 3 years ago

stfedosov commented 3 years ago

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!

supkoder commented 3 years ago

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

Ashark commented 11 months ago

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.

hurricup commented 11 months ago

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

Ashark commented 11 months ago

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