1

Is it possible, with or without a plugin in notepad++, to obtain a text tree view of a category within the text? Like the picture below, but like a list within the text?

Like this

This is basically so I can be able to click the little button that appear to expand or collapse sections.

Xiarno
  • 31
  • 8
  • You mean... like this ? https://i.stack.imgur.com/chzid.png – hugo Aug 11 '19 at 19:26
  • Alright then. But which one ? I mean, I only use this. I don't know any other (Online text editor like Google Docs don't count) – Xiarno Aug 11 '19 at 19:27
  • wait... do you mean something like @hugo showed? – Axiumin_ Aug 11 '19 at 19:27
  • Yes, hugo. Exactly like this. But without "coding". Just to make a basic list of thing. Like a category, so I can organize myself. @Axium I just tried the tab key. It only advance char, but does not do the "thing" like hugo mentionned https://imgur.com/uHyck1D – Xiarno Aug 11 '19 at 19:27
  • This should help https://stackoverflow.com/questions/3761206/notepad-user-defined-regions-with-folding – Axiumin_ Aug 11 '19 at 19:32
  • @Axium well done! I was gonna suggest to write his list in JSON or XML xD – hugo Aug 11 '19 at 19:34
  • Amazing ! It worked ! Thanks. Now, how do I put it as an answer ? I'm new to this site :/ – Xiarno Aug 11 '19 at 19:39
  • i can put it as an answer here if you want – Axiumin_ Aug 11 '19 at 21:13
  • Thanks. But, well, I guess I already did it under. But apparently, I'll only be able to accept my own answer in 2 days. :/ – Xiarno Aug 11 '19 at 21:17

1 Answers1

1

Answer was given by @Axium. Thanks to him !

Click here to read the answer ! For short, it use the Define your language... tool under Language to create your own keyword, defining an open & close bracket when used inside your text. This allow the use of the Collapse and Expand button at the leftmost menu of Notepad++ program.

Xiarno
  • 31
  • 8