Bug: Dragging in a folder opens it in a folder as workspace view
-
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 on the ‘broken workflow’. I miss being able to open multiple files with a single action!
-
Added to GitHub as Issue#1668:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1668 -
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:
- Copy your folder path from File Explorer
- Paste folder path to a new empty document in Notepad++
- Select the folder path
- Alt+F5, which is the “Open file” item in the Run menu.
-
I found another easy workaround:
- Have a Notepad++ program shortcut file on your Desktop.
- 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.)