Community
    • Login

    Issue when opening multiple files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.6k Views 2 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.
    • Giulio MartiniG Offline
      Giulio Martini
      last edited by

      Good morning,
      I would like to ask why when opening multiple text files with notepad++, the app does not open them in order. This is quite annoying since I must drag them to sort them each time.
      Thank you in advance to anyone who will provide a solution,
      Giulio

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS Offline
        Scott Sumner @Giulio Martini
        last edited by

        @Giulio-Martini

        What is your method for opening the files?

        1. File (menu) -> Open box (or equivalent toolbar button or shortcut)
        2. Drag and Drop from e.g. Windows Explorer
        3. Some other way???

        I find that method 1 will open the files and keep the tabs in the same order as the way I select them in the File Open window. For method 2, well, drag and drop is an OS thing and I don’t think there are any guarantees about the order in which it provides filepath data to the drop target, but I could be wrong about this–at least in my testing the order provided to N++ was NOT the same as selected, or as shown in the Explorer window. In other words, I don’t believe there is any “fix” for the behavior seen with method 2.

        1 Reply Last reply Reply Quote 0
        • Giulio MartiniG Offline
          Giulio Martini
          last edited by

          Ok I think I understood what I did wrong.
          After selecting the desired files, I did right click + edit with notepad++. However, when I right clicked I did not do it on the “first” file. By right clicking on a random file among the selected ones, notepad++ appears to open that file first and then proceeds by opening the following ones in a “circular” way. Actually, this appears to be a Windows thing. Thank you for your help and sorry for the waste of time.

          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