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
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).
Implement the workaround
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.
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.
The text was updated successfully, but these errors were encountered:
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
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).
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.
The text was updated successfully, but these errors were encountered: