• Login
Community
  • Login

feature requests: 2(3) new folding commands

Scheduled Pinned Locked Moved General Discussion
10 Posts 4 Posters 523 Views
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.
  • V
    Victorel Petrovich
    last edited by Oct 8, 2021, 8:17 AM

    Commands that:
    1. Move from current node into the parent node (if it has one).
    2. Toggle folding/unfolding of all folds in the file at same level as current fold’s level . (Or as 2 separate commands).

    Note: in 1, by node I don’t mean only something that can be folded, but any “logical line” (with one or more programming statements on it; perhaps other kinds of lines too, depending on language ).
    A node is a parent node if it contains a folding point (and the nodes inside the fold - children nodes); otherwise is a leaf node. It’s a child node if it’s inside the fold of another node.

    # not a  node at all
    print(9)                  # level 0, leaf node
        # not a node either 
    def f(x):                 # level 0, parent node
        """ doc string;       # level 1, parent node
              ad;fad , leaf   # level 2, leaf node
             """
        y=x+1                # level 1 , leaf node
        print(x-y)           # level 1, leaf node
    print(3)                # level 0, leaf node
    

    1st command, combined with the already existing command, will allow fast navigation like in many file managers’ tree view of folders, often with the arrow keys (right/left to collapse/expand, and up/down to jump through sibling nodes).

    2nd command would be more useful, IMO, than the fixed-level fold/unfold of all nodes (as exists at present). You would not need to know which level exactly you’re currently on in order to fold/unfold all nodes at that level quickly.

    Also, IMO the existing " Collapse/uncollapse current level" should be renamed to “… current node/block”

    A 1 Reply Last reply Oct 8, 2021, 11:44 AM Reply Quote 1
    • A
      Alan Kilborn @Victorel Petrovich
      last edited by Oct 8, 2021, 11:44 AM

      @Victorel-Petrovich

      I’m not big into use of folding, but what you want can probably be done with a script using a script plugin, fairly easily.

      A feature request is fine, but:

      • this isn’t the place to do it
      • there are a lot of open Notepad++ bug reports and feature requests ahead of yours; I mean A LOT, so I wouldn’t wait on that to happen if I were you
      V 2 Replies Last reply Oct 9, 2021, 11:22 PM Reply Quote 2
      • V
        Victorel Petrovich @Alan Kilborn
        last edited by Oct 9, 2021, 11:22 PM

        @Alan-Kilborn thanks for replying

        this isn’t the place to do it

        then where is it?

        P 1 Reply Last reply Oct 9, 2021, 11:34 PM Reply Quote 0
        • P
          PeterJones @Victorel Petrovich
          last edited by Oct 9, 2021, 11:34 PM

          this isn’t the place to do it

          then where is it?

          There is a FAQ which describes the process. You always look at the FAQ list before posting in a new forum, right?

          If you don’t, here is a direct link to the FAQ entry which describes how and where to make a feature request.
          https://community.notepad-plus-plus.org/topic/15741/faq-desk-feature-request-or-bug-report

          V 1 Reply Last reply Jul 25, 2023, 3:55 AM Reply Quote 0
          • V
            Victorel Petrovich @Alan Kilborn
            last edited by Jul 25, 2023, 3:49 AM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • V
              Victorel Petrovich @PeterJones
              last edited by Victorel Petrovich Jul 25, 2023, 4:22 AM Jul 25, 2023, 3:55 AM

              @PeterJones
              Very late reply, my apology.
              But if I were to reply now to:

              You always look at the FAQ list before posting in a new forum, right?

              , just as a feedback to you, would be: No… I’d look in a FAQ before posting only if I had a question. Instead, I’d look in a section called “rules of the community/forum” or “START HERE, NEWBIE!” :) , etc.

              P.S. Besides, in retrospect, I see that posting here was at least as good as posting on github issue tracker, because I wanted to see if people have any interest at all in this. And I got it. Why dwell so much on where exactly people post if they just want feedback? (more of a rhetorical question)

              P 1 Reply Last reply Jul 25, 2023, 1:00 PM Reply Quote 0
              • P
                PeterJones @Victorel Petrovich
                last edited by PeterJones Jul 25, 2023, 1:01 PM Jul 25, 2023, 1:00 PM

                @Victorel-Petrovich said in feature requests: 2(3) new folding commands:

                I’d look in a FAQ before posting only if I had a question. Instead, I’d look in a section called “rules of the community/forum” or “START HERE, NEWBIE!” :) , etc.

                But your behavior does not match your claim. The first post in the top of the “General Discussion” and “Help Wanted” sections – just below the “New Topic” button that you used to create this Topic was titled “Please Read This Before Posting”, which you also didn’t read, because it also tells you where official feature requests and bug reports go.

                de2d2403-8d32-4572-ac25-17f3fa6a14d3-image.png
                V 1 Reply Last reply Jul 26, 2023, 1:17 AM Reply Quote 2
                • V
                  Victorel Petrovich @PeterJones
                  last edited by Jul 26, 2023, 1:17 AM

                  @PeterJones
                  Conclude whatever you want, I don’t remember anymore whether I read that section you point to or not (I might have read it, and STILL decided to post here, for several reasons…).

                  L 1 Reply Last reply Jul 26, 2023, 1:30 AM Reply Quote 0
                  • L
                    Lycan Thrope @Victorel Petrovich
                    last edited by Lycan Thrope Jul 26, 2023, 1:30 AM Jul 26, 2023, 1:30 AM

                    @Victorel-Petrovich ,
                    You probably became disinterested and moved on…whatever the case, that’s why @Alan-Kilborn reminded you that this isn’t the place to “make” feature requests, as the actual developers don’t hang around on these forums waiting for inspiration. I saw nothing condescending in his response to you at that time (after having to read back on a 2 years old post) that @PeterJones then points out to you where that is, and that it doesn’t appear that you’ve read it. It’s a straight forward answer to your rhetorical statement.

                    Because of the time since, and because you still seem to be issuing “Feature Request” sounding posts, it’s not at all outside the job of moderator and regular users to prod people to read the FAQ’s about certain subjects in the FAQs. Otherwise one must take your “Feature Request” posts as a plea for attention that would otherwise not be received by simple discussion. One with reading comprehension, would understand that, and not take offense to people trying to help you function better in the environment of the forum.

                    V 1 Reply Last reply Jul 26, 2023, 1:57 AM Reply Quote 0
                    • V
                      Victorel Petrovich @Lycan Thrope
                      last edited by Jul 26, 2023, 1:57 AM

                      @Lycan-Thrope

                      I saw nothing condescending in his response to you at that time

                      Neither did I.

                      (after having to read back on a 2 years old post)

                      Nobody forced you to do that (if you’re volunteer here).

                      It’s a straight forward answer to your rhetorical statement.

                      It’s not. If people want some kind of feedback, that’s not necessarily from developers.

                      Otherwise one must take your “Feature Request” posts as a plea for attention that would otherwise not be received by simple discussion.

                      If you want to understand - if you want to! - my tone sometimes appears formal (and more so in the past) because English is not my first language, and I’m more used to academic language than informal one. “Simple discussion” whatever that means , is always good, never wanted more.

                      One with reading comprehension, would understand that, and not take offense to people trying to help you function better in the environment of the forum.

                      I didn’t take offense. Yeah, maybe I don’t have reading comprehension. Maybe I’m autistic, maybe I’m mental??? maybe maybe.

                      Happy? Achived your goal of trying to offend someone?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      The Community of users of the Notepad++ text editor.
                      Powered by NodeBB | Contributors