Collapsable lists in notepadplusplus

2015-01-13

azim58 - Collapsable lists in notepadplusplus


Collapsable lists
Instead of defining your own language so that you can collapse text
inbetween "
" and "
", you can just choose to interpret the document with
XML and collapse text within "<>" and "</>". This way you also have the
option of adding labels to the tags like "<dog>" and "</dog>".

Custom collapsible lists
Obtaining collapsable lists in that lightweight Notepad++ program is very
simple. To set it up just go to Language->Define your language->Create
New and then give your language a name. In the "Folding in comment
sytle:" section just enter a "
" in the "Open:" box and a "
" in the
"Close:" box. Then give your language a recognized filename extension. I
used "txt" so that regular text files could be recognized. Back in the
text editor select your new language as the one to use for the document.
Then your open and closed parenthesis will be recognized as collapsable.
Saved files with the extension of par will open back up recognizing the
parenthesis as collapsible.

see also how I like to mark and organize layered text information