Community
    • Login

    Bug: Dragging in a folder opens it in a folder as workspace view

    Scheduled Pinned Locked Moved General Discussion
    drag-and-dropfolder as worksbug
    12 Posts 9 Posters 8.9k 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.
    • SilkAndSlugS
      SilkAndSlug
      last edited by

      +1 on the ‘broken workflow’. I miss being able to open multiple files with a single action!

      1 Reply Last reply Reply Quote 0
      • SilkAndSlugS
        SilkAndSlug
        last edited by

        Added to GitHub as Issue#1668:
        https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1668

        1 Reply Last reply Reply Quote 0
        • SilkAndSlugS
          SilkAndSlug
          last edited by

          And, while I’m thinking about it, I’ve found a workaround:

          • open the folder in Windows Explorer;
          • search for e.g. “php” – this shows all files with that file extension;
          • drag-and-drop those files into NPP; and
          • NPP will open all the files (and not the workspace panel)
          1 Reply Last reply Reply Quote 0
          • Sebastian BlockS
            Sebastian Block
            last edited by

            Same over here. Any possibility to disable that feature? Maybe by a plugin or something? The suggestion made by SilkAndSlug does not work for me as I have to handle different filetypes and A LOT files at the same time.

            1 Reply Last reply Reply Quote 0
            • Brice NotaiseB
              Brice Notaise
              last edited by

              Same for me. I wish I can disable this option because I need the old drag and drop feature.

              1 Reply Last reply Reply Quote 0
              • johnnytempJ
                johnnytemp
                last edited by

                I found one workaround:

                1. Copy your folder path from File Explorer
                2. Paste folder path to a new empty document in Notepad++
                3. Select the folder path
                4. Alt+F5, which is the “Open file” item in the Run menu.
                1 Reply Last reply Reply Quote 0
                • johnnytempJ
                  johnnytemp
                  last edited by johnnytemp

                  I found another easy workaround:

                  1. Have a Notepad++ program shortcut file on your Desktop.
                  2. Drag the folder from File Explorer to the Notepad++ shortcut.
                  1 Reply Last reply Reply Quote 0
                  • Shaun DreclinS
                    Shaun Dreclin
                    last edited by

                    (For people here from google) There is now a config option for this.
                    Preferences > Default Directory > Open all files of folder instead of launching Folder as Workspace on folder dropping

                    1 Reply Last reply Reply Quote 1
                    • ArTruongA
                      ArTruong
                      last edited by ArTruong

                      When I use notepad++ in command line, if I send parameter for NP as File(s) then it works as designed but If I send folder path then It will open all files in folder although I unchecked “Preferences > Default Directory > Open all files of folder instead of launching Folder as Workspace on folder dropping”

                      Please help me how to open folder as Workspace when use folder path as parameter in command line?
                      NP should support option to open folder as WorkSpace or all files in folder with command line.

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

                        @ArTruong said:

                        Please help me how to open folder as Workspace when use folder path as parameter in command line?

                        As of right now, AFAICT, that feature doesn’t exist yet. Sorry. (Notice the phrasing on the option you picked: “… on folder dropping” – since the command line is not “folder dropping”, the option doesn’t influence command-line opening.)

                        Issue #4253 was submitted last year, and someone even made pull request #5100 to add a command-line option, but that hasn’t been incorporated into the main codebase. You might want to go add upvotes to those. (I just upvoted those.)

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