Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    General Discussion
    drag-and-drop folder as works bug
    9
    12
    8480
    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.
    • Matthew Smit
      Matthew Smit last edited by

      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
      • Brett Doull
        Brett Doull last edited by

        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
        • SilkAndSlug
          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
          • SilkAndSlug
            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
            • SilkAndSlug
              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 Block
                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 Notaise
                  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
                  • johnnytemp
                    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
                    • johnnytemp
                      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 Dreclin
                        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
                        • ArTruong
                          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
                          • PeterJones
                            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
                            Copyright © 2014 NodeBB Forums | Contributors