Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the files in selected folder instead of default path when using keybinding or command palette. #34

Closed
pksunkara opened this issue May 16, 2024 · 1 comment

Comments

@pksunkara
Copy link
Contributor

Currently, there is no way of getting the selected folder in explorer view, but there is a workaround which seems to be working as documented in microsoft/vscode#3553 (comment).

  1. Implement the workaround
  2. Use the selected folder/file from explorer or currently active document in text editor. Uses default path only when both of them are not present.
  3. If a file is selected, create in the parent folder.

I would be willing to contribute a PR if this is okay with you @asbjornh. Also, please let add me as a maintainer if you are not maintaining this extension anymore.

@pksunkara pksunkara changed the title Create the files in the currently selected folder instead of default path when using keybinding or command palette. Create the files in selected folder instead of default path when using keybinding or command palette. May 16, 2024
@asbjornh
Copy link
Owner

This would be a nice feature if/when the vscode api exposes the current folder!

@pksunkara pksunkara closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants