You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Open Folder as Workspace" argument when running from command line #4253
Just like VS Code and Atom and some other editors, Notepad++ can also give ability to open folder as workspace, and better to provide this when running from command line.
Noticed it when trying to put an enhancement to Github Desktop project in this PR
Expected Behavior
There can be an argument like "-openAsWorkspace". When running notepad++ with this argument, it should open given folder as workspace.
Can I just bump this feature request? It would be extremely useful to be able to get integration into GitHub Desktop, and as best I can tell this command-line aspect is the only thing preventing such integration from being possible.
Basically I added an extra flag (-dirAsWorkspace) to tell NP++ to treat any directory as a workspace. Of course that would still mean finding a way to get GitHub Desktop to call NP++ with the CLI flag.
Perhaps a simple batch file that desktop calls to load NP++, e.g.
@TCWORLD Great news! As my understanding of how it works on the GitHub Desktop side, if your new flag is included into NP++ there's a specific procedure for adding the requisite NP++ support into GitHub Desktop. I can't remember what it is off the top of my head, but I think it basically comes down to modifying one source file and submitting a PR.
@TCWORLD Perhaps you could PR that back to the master. Flag this issue, maybe they'll include it in a future build. I think if that goes in desktop/desktop#4120 can be finished.
@ithielnor I thought about that, but based on notepad-plus-plus/CONTRIBUTING.md it says not to create pull requests until an issue has an "Accepted" label.
Activity
WorkShop-Office commentedon Mar 2, 2018
cmd.to
Alarm-Siren commentedon Sep 30, 2018
Can I just bump this feature request? It would be extremely useful to be able to get integration into GitHub Desktop, and as best I can tell this command-line aspect is the only thing preventing such integration from being possible.
TCWORLD commentedon Nov 2, 2018
I'm interested in having NP++ work with GitHub Desktop as well.
I had a play around to see how easy it would be to get openning as workspace working. I've commited a potential solution here: https://github.com/TCWORLD/notepad-plus-plus/commit/4199cdc
Basically I added an extra flag (
-dirAsWorkspace) to tell NP++ to treat any directory as a workspace. Of course that would still mean finding a way to get GitHub Desktop to call NP++ with the CLI flag.Perhaps a simple batch file that desktop calls to load NP++, e.g.
Alarm-Siren commentedon Nov 4, 2018
@TCWORLD Great news! As my understanding of how it works on the GitHub Desktop side, if your new flag is included into NP++ there's a specific procedure for adding the requisite NP++ support into GitHub Desktop. I can't remember what it is off the top of my head, but I think it basically comes down to modifying one source file and submitting a PR.
ithielnor commentedon Nov 15, 2018
@TCWORLD Perhaps you could PR that back to the master. Flag this issue, maybe they'll include it in a future build. I think if that goes in desktop/desktop#4120 can be finished.
TCWORLD commentedon Nov 15, 2018
@ithielnor I thought about that, but based on notepad-plus-plus/CONTRIBUTING.md it says not to create pull requests until an issue has an "Accepted" label.
TCWORLD commentedon Dec 4, 2018
I've added the pull request regardless (#5100), we shall see what happens.
Add the commandline argument to open folders in "folder as workspace"…
Add the commandline argument to open folders in "folder as workspace"…