vscode-create-file-folder icon indicating copy to clipboard operation
vscode-create-file-folder copied to clipboard

Create files relative from the actual position

Open eskimoblood opened this issue 8 years ago • 7 comments

It would be nice if I could create files relative to the actual position in the explorer

eskimoblood avatar Dec 04 '17 20:12 eskimoblood

hi, Can you explain further with an example for better understanding?

ritwickdey avatar Dec 04 '17 20:12 ritwickdey

At the moment the file is created in the root of the project. But it would be cool if I can created on the position where the folder that is selected in the explorer.

eskimoblood avatar Dec 04 '17 20:12 eskimoblood

I got your point! Thanks for the suggestion!

ritwickdey avatar Dec 05 '17 05:12 ritwickdey

A Tips: Just right click on a folder from explorer window and choose create new file - the relative path from workspace will be auto filled.

Watch the gif (2nd part)

./vscode-create-file-folder/img/screenshots/screenshots1.gif

ritwickdey avatar Dec 05 '17 05:12 ritwickdey

Thanks for this great plugin. Really like it. Regarding this issue, it would be great if the shortcut would do that as well.

tiagojdf avatar Apr 19 '19 12:04 tiagojdf

Yes, it would be great if the shortcut would do that as well. This is especially good if you, like me, want to avoid touching the mouse/trackpad when coding. 😎

@ritwickdey Any updates on this? How could we help you with this?

elitan avatar Apr 14 '20 11:04 elitan

Also, one more thing would be useful, is to be able to create a file in the same directory of the currently open file.

OmranAbazid avatar Apr 30 '20 12:04 OmranAbazid