Community
    • Login

    is there a way to move files up and down inside a list of opened files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 5 Posters 2.2k 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.
    • ABC MEMENTOA
      ABC MEMENTO
      last edited by

      I need a custom sort - up and down possibility - inside list of opened files

      is it possible somehow ?

      it is possible inside tab bar - but the tab bar is not so suitable if many files are open

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @ABC MEMENTO
        last edited by

        @abc-memento

        Are you talking about moving Notepad++'s tabs around?

        ABC MEMENTOA 1 Reply Last reply Reply Quote 0
        • ABC MEMENTOA
          ABC MEMENTO @Alan Kilborn
          last edited by

          @alan-kilborn no, just moving file name up and down inside document list (list of opened files).
          for example - you open index,php - and some other files - and iindex.css at the end.
          Now you want index.php and index.css to be together - and trying to drag/drop them - not possible

          mkupperM 1 Reply Last reply Reply Quote 0
          • mkupperM
            mkupper @ABC MEMENTO
            last edited by mkupper

            @abc-memento
            Is using the keyboard ok? Ctrl-Shift-PageUp and Ctrl-Shift-PageDown move the current open tab left/right in the list of tabs. I think the tabs are what you mean by the “list of opened files.” BTW, that trick also works in Firefox and likely other tabbed interfaces.

            ABC MEMENTOA ImbalanceI 2 Replies Last reply Reply Quote 0
            • ABC MEMENTOA
              ABC MEMENTO @mkupper
              last edited by

              @mkupper no, as I said - tabs are not suitable if a lot files are open.
              List of opened files - named Document List - is what I’m talking about
              once again - List of opened files - named Document List - is what I’m talking about
              not about tabs

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @ABC MEMENTO
                last edited by PeterJones

                @abc-memento

                Side note: there are multiple “lists of opened files”, including the tab bar, the Window menu, the Window > Windows… dialog, the popup that occurs during Ctrl+Tab tab-selection, and, oh yeah, the Document List. If you had just used the official term “Document List” in your original question, rather than waiting until multiple forum users tried to get you to clarify which feature you were asking about and started annoying you, you would have saved multiple back-and-forth (and your annoyance). For future reference, when asking about a specific feature of Notepad++, you should use the name given in the menu which accesses it, or the name given on the dialog, window, or sidebar, so that there is no confusion about which feature you mean.

                But to your question: as documented in the npp-user-manual.org’s Views page, Panels section (emphasis added):

                The Document List toggle will display the Document List panel, which lists all the open documents and allows easily switching between them. (Prior to v8.1.3, the panel was known as the Doc Switcher panel and controlled through the General preferences, but that name was confused with the Document Switcher Ctrl+TAB settings in MISC preferences.) The Document List can be sorted by Name (or Extension or Path, if columns enabled) by left-clicking on the header. To view the extension separately from the filename, right click on the header and enable the Ext. column (as of v8.1.5; prior to that, it was in the General settings). To view the path in Document List panel, right click on the header and enable the Path column (new to v8.1.5).

                As the manual shows, it can be sorted by name or extension or by path. Custom ordering (dragging from one place to another) is not a feature of the Document List panel. But since your goal was to have index.php and index.css next to each other, that would happen if you left-clicked on the name column to have it sort by name.

                Addendum: the default sort order for that panel matches the order of the tabs, so if you manually re-order the tabs, it will change the order in the Document List panel. So, while you might not have liked it, the suggestions to move the tabs around would also accomplish the goal of changing the order in the Document List.

                ABC MEMENTOA 1 Reply Last reply Reply Quote 2
                • ABC MEMENTOA
                  ABC MEMENTO @PeterJones
                  last edited by ABC MEMENTO

                  @peterjones
                  about terminology
                  tab bar is not a list of opened files - it’s a tab bar
                  windows menu and popup window have the list - but in that case everyone would normally said - windows menu or popup window
                  ctrl tab popup - the same as above
                  also - in my second post I clearly said - just moving file name up and down inside document list

                  custom sort would be good - because one can have a lot of index files - various extensions

                  in my case - sorting by name is ok and good enough

                  thanks a lot

                  1 Reply Last reply Reply Quote 0
                  • ImbalanceI
                    Imbalance @mkupper
                    last edited by

                    @mkupper Thanks, I was just looking a way to move items up and down in the “Document list” pane, and that’s exactly the way (Ctrl-Shift-PageUp and Ctrl-Shift-PageDown). Awesome.

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