Feature request: possibility to open a folder
This could be nice, so nerd can use it as a code editor
I've thought about this a bit, as I'm used to typing code . or hx . and find myself doing it with edit too. I think the most obvious thing you could do is immediately launch the file picker on that directory.
I've thought about this a bit, as I'm used to typing
code .orhx .and find myself doing it withedittoo. I think the most obvious thing you could do is immediately launch the file picker on that directory.
Agree, I have made an attempt at this in PR #577
You can get around this for now with some clever shell or powershell scripts. I did something like this:
$files = Get-ChildItem -Path . -Filter "*.ps1"
edit $files
I'm not trying to minimize you're idea here, because I agree with you that it woudl be nice. I hope you don't get the wrong idea. I just wanted to share the work around I came up with to help with this in the meantime. You can obviously throw that in a funciton in your profile and spruce it up if you wanted to pass whatever file extensions you want in there. It's not ideal, but it gets the job done in a pinch. I have verified that it opens all of those files up in the file picker for you to switch between.