User Tools

Site Tools


howto:fold_perl_comments

Changing the Perl scheme to have folding comments

Locate perl.scheme at Programmer's Notepad\schemes folder and edit it. Search for the line that starts the language declarations:

<language name="perl" title="Perl" folding="true">

and add the following two values just before the right bracket:

foldcomments=“true” foldcompact=“true”

Save perl.scheme. Now, when you edit a file declared as Perl, consecutive lines of comments (starting with #) can be folded to show just the first one.

howto/fold_perl_comments.txt · Last modified: 2008/04/28 22:03 by Simon Steele