
With version 6.9, Notepad++ has got Folder as Workspace feature. After receiving many requests, the developer has added that feature, which you can enable from the View menu or just drag and drop a folder containing text files onto NPP, the folder will be added to the sidebar in a panel, you can browse and open files, they will be opened in NPP. Changes mades in the folder from outside will be synchronized in the panel.
Some want to disable Folder as Workspace feature as they want the old behavior, where files in the folder should be opened in NPP when they drop a folder or two. The developer has heard the feedback and allows to turn off FaW in Notepad++ 7, here is how you can do that.
READ: Notepad++ v7 released – 64-bit available
Disabling Folder as Workspace feature in Notepad++
1. Ensure you’re using the latest Notepad++ 7.0 or later, launch NPP
2. Click on Settings > Preferences > Default Directory, check ‘Open all files of folder instead of launching Folder as Workspace on folder dropping’,
3. Click on Close.
THANK YOU!!! I HATED THIS FEATURE AS IT SCREWED UP MY WORKFLOW
https://imgs.xkcd.com/comics/workflow.png
Wow, that’s a wildly annoying change. Really, really bad decision. This should have been disabled by default and the 3 people that wanted this feature could have turned it on.
Now the developer has provided the option, so stop blaming.
From the command line (cui/cli) it would be valuable to be able to use the `-l` flag to override how a file-system *entity* path is interpreted *(i.e., a file or directory path)*.
From the window side (gui/ui) extending action behavior can be a combination of existing and new ui drop/paste surfaces with (as has been done) flags to allow *opt-in setting* to new drop behavior on existing-surfaces. *(better is to have some mini-script control over drop/paste action on a surface)*.
Then we can do things like:
`notepad++ -lfaws `*`dir-path`* to open a directory from the **cli** as a “Folder as Workspace”, or `notepad++ -lxml `*`some-workspace.your-ws-extn`* to open a workspace document as xml, rather than as a workspace, enabling editing of them.
From the **gui** being able to control how a create panels and control how they behave as “drop-surface” areas by associating a “-l” action map would be great. Like `-lafws` opens a dir as workspace, but `-ldir` opens as set of file.
These are just my suggestions, which I given the pain level of not having these options for the command line will either prevent me from continuing using notepad++ or cause me to fix it for myself. I already was able to build it on windows, and modified scintilla to support things I needed. If I can find time (which can be difficult) I’d be happy to contribute back.
David