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



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





  • 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)


  • 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.



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



  • 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.


  • 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.


  • (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



  • 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.



  • @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.)