Community
    • Login

    Tabs do not open in order selected in Windows Explorer

    Scheduled Pinned Locked Moved General Discussion
    16 Posts 6 Posters 605 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.
    • MarkusBodenseeM
      MarkusBodensee
      last edited by

      @artie-finkelstein is absolutely right here, wanted to reply the same like he.

      In short:
      Do the right click on the first file you want to have in the Editor. The following files are added one by one like they appear in your explorer window (sorting by name or date etc is respected). At the end of list wraps around to the begin and continues until the right clicked file is reached.

      Same for drag and drop. Start dragging with focus on the first file you want in the editor.

      Alan KilbornA MarkusBodenseeM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @MarkusBodensee
        last edited by

        @MarkusBodensee

        Not following what you mean about “right click”, i.e., your first paragraph. In Explorer, experimenting, I can’t get any kind of multi-file selection with right-clicking. Of course, I can get it with left-click with Shift or Ctrl added.

        Your second paragraph is a concise summation of @artie-finkelstein 's longer explanation, but adds no new information.

        1 Reply Last reply Reply Quote 0
        • artie-finkelsteinA
          artie-finkelstein
          last edited by

          Left click to select items for the group
          Right click or left click before dragging the group

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @artie-finkelstein
            last edited by

            @artie-finkelstein said in Tabs do not open in order selected in Windows Explorer:

            Right click or left click before dragging the group

            Ah, okay, although I’ve never thought to right-click and drag-n-drop a file(s) into another application.

            1 Reply Last reply Reply Quote 0
            • Stefan PendlS
              Stefan Pendl
              last edited by

              I think that right-clicking would be used to select “Edit with Notepad++” from the context menu.

              Alan KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @Stefan Pendl
                last edited by

                @Stefan-Pendl said in Tabs do not open in order selected in Windows Explorer:

                I think that right-clicking would be used to select “Edit with Notepad++” from the context menu.

                When I try this with a.txt, b.txt, c.txt … h.txt in a folder and I select them one at a time, in order from a to h via Ctrl+Lclick, and then I right-click c.txt and choose Edit with Notepad++, I get, from left to right tabs in N++ once it loads them:

                d, e, c, f, b, h, g and a.

                I fail to see a pattern there.

                artie-finkelsteinA 1 Reply Last reply Reply Quote 0
                • artie-finkelsteinA
                  artie-finkelstein @Alan Kilborn
                  last edited by

                  @Alan-Kilborn
                  I’d never tried it that way. I Ctrl Left clicked a series of files (every other one) and then Right clicked and selected ‘Edit with Notepad++’ and it still followed the scheme I tried to describe in 68868, but, I didn’t properly amplify one detail then: The file list order is based on the Explorer sort order of the folder, not the order the files are clicked in. BTW: changing sort order will unselect any left clicked files.

                  There may also be OS differences (I’ve not had a chance to use any of the Win10 variants).

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

                    We are probably wandering off-topic here, but it is a bit interesting.

                    So for great fun I took this selection in Explorer and dragged it by the e.txt file into Notepad++ and also Visual Studio 2019:

                    88535615-aad5-4886-82c5-11772dccee5e-image.png

                    The results:

                    4bc34545-e400-4d44-a8e5-d3dcd4c87892-image.png

                    315df7cb-2597-4639-a9b5-89f74a12fffc-image.png

                    Entirely opposite tab orders. :-)

                    And, from an intuitive point of view, since the drag point was e.txt, I’d have thought that would be made the active file tab – but it wasn’t in either program.

                    OK, maybe I’m done with this now. :-)

                    1 Reply Last reply Reply Quote 0
                    • MarkusBodenseeM
                      MarkusBodensee @MarkusBodensee
                      last edited by

                      @Alan-Kilborn said in Tabs do not open in order selected in Windows Explorer:

                      Not following what you mean about “right click”, i.e., your first paragraph. In Explorer, experimenting, I can’t get any kind of multi-file selection with right-clicking. Of course, I can get it with left-click with Shift or Ctrl added.

                      Sorry, that I was not clear enough. The precondition to my previous post is, that you have already selected multiple files in any way you like (Ctrl + Left Click, Shift + Left Click, or even with mouse selection rectangle). The important thing is: the focus in next step. I.e. on which file you do the right click or start the drag action.

                      @MarkusBodensee said in Tabs do not open in order selected in Windows Explorer:

                      Do the right click on the first file you want to have in the Editor. The following files are added one by one like they appear in your explorer window (sorting by name or date etc is respected). At the end of list wraps around to the begin and continues until the right clicked file is reached.

                      Same for drag and drop. Start dragging with focus on the first file you want in the editor.

                      In your recent post, you verified what I posted for Notepad++, thanks :-)

                      For the situation in your post before your recent post, where you failed to see a pattern: I don’t know what went wrong there.
                      When I am doing your steps (and order by name in explorer is active), I get the following order in Notepad++: c, d, e, f, g, h, a, b

                      1 Reply Last reply Reply Quote 1
                      • MarkusBodenseeM
                        MarkusBodensee
                        last edited by

                        Example with picture:
                        Select some files, order of selection doesn’t matter, but right click is done on cs.xml:
                        bc85457f-bc2b-4e3b-b6d2-f9951276ec6e-grafik.png

                        Order in Notepad++:
                        933db1ba-d23c-4756-9f76-2b34c11156a2-grafik.png

                        Hope it helps somebody to understand, even if it is nearly the same like your example. Yes, it adds no new information… but hopefully more clarity.

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