Community
    • Login

    Folding and collapsing indented children. Possible?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 661 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GedijorgeG Offline
      Gedijorge
      last edited by

      Hi guys,
      I need your help.

      I have a text file with a following structure:

      Parent1
      <tab>child1
      <tab><tab>child1.1
      <tab><tab><tab>child1.2

      <tab>child11
      <tab><tab>child11.1
      <tab><tab><tab>child11.2

      Parent2
      <tab>child2.1
      <tab><tab>child2.2
      <tab><tab><tab>child2.3
      …
      Parent100
      <tab>child100.1
      <tab><tab>child100.2
      <tab><tab><tab>child100.3

      Is it possible to make Parents foldable?
      After folding it would look like this:

      Parent1
      Parent2
      …
      Parent100

      I am using text files for note-taking and this folding would make scanning of files and overviewing topics much easier.

      Any thoughts? 💭

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Gedijorge
        last edited by

        @Gedijorge

        You can achieve it if you set the tab’s Language to something that supports folding, e.g. Python:

        e7b4a39a-4484-4696-9ff9-49c1638d913b-image.png

        GedijorgeG 2 Replies Last reply Reply Quote 1
        • GedijorgeG Offline
          Gedijorge @Alan Kilborn
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • GedijorgeG Offline
            Gedijorge @Alan Kilborn
            last edited by

            @Alan-Kilborn
            Thank you! 🤗 Works the way I wanted. 🎉
            In combination with the shortcuts it should be very handy.

            aa.jpg

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors