• Login
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.
  • M
    Matthew Smit
    last edited by Mar 15, 2016, 12:40 AM

    The new folder as workspace “feature” has broken the ability to drag in folders to open all subfiles. This has completely broken my workflow, as it was one of the major features I used, it has interrupted me enough to cause me to roll back to 6.8.8 instead.
    Please add back in this feature, perhaps as an option or by altering how it works so when you drag in a folder over the main text editor, it functions like it always has, and when you drag over the workflow it opens it there.

    1 Reply Last reply Reply Quote 4
    • B
      Brett Doull
      last edited by Mar 17, 2016, 3:19 AM

      I agree. I am sure this feature is great, but I used the recursive file loading feature extensively and I need a way to turn this new folder as workplace off. I have rolled back as a workaround in the meantime.

      1 Reply Last reply Reply Quote 0
      • S
        SilkAndSlug
        last edited by Mar 22, 2016, 10:11 AM

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

        1 Reply Last reply Reply Quote 0
        • S
          SilkAndSlug
          last edited by Mar 22, 2016, 10:51 AM

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

          1 Reply Last reply Reply Quote 0
          • S
            SilkAndSlug
            last edited by Mar 22, 2016, 11:11 AM

            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
            • S
              Sebastian Block
              last edited by May 2, 2016, 1:04 PM

              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
              • B
                Brice Notaise
                last edited by May 11, 2016, 1:09 PM

                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
                • J
                  johnnytemp
                  last edited by May 16, 2016, 5:08 AM

                  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
                  • J
                    johnnytemp
                    last edited by johnnytemp May 16, 2016, 6:21 AM May 16, 2016, 6:21 AM

                    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
                    • S
                      Shaun Dreclin
                      last edited by Jan 30, 2017, 9:25 AM

                      (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
                      • A
                        ArTruong
                        last edited by ArTruong Jun 11, 2019, 9:17 AM Jun 11, 2019, 9:15 AM

                        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
                        • P
                          PeterJones
                          last edited by Jun 11, 2019, 1:17 PM

                          @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