Jonathan Tuzman
Jonathan Tuzman

Reputation: 13289

Can you create a file or folder by path in VS Code?

In Atom, hitting Cmd+N brings up a window where you can type in basically any path to create any file or folder anywhere in the project. In VSCode, hitting Cmd+N brings up a dialog where you can create a file in the currently focused folder, and I believe you can type a path to create a file in a subfolder (whether it exists or not), but not as flexibly as in Atom.

Is there way to do it Atom-style in VSCode?

Upvotes: 3

Views: 5656

Answers (1)

Yedhin
Yedhin

Reputation: 3189

I don't know for sure whether this is what you're looking for, but still there exists this plugin which can emulate the file/directory creation feature of Atom.

Since i use vscode-vim it's fairly easy to create new folders and files using command mode. If you're familiar with using terminal, then you can use shell commands to create file/dir.

I have no idea whether one could do what you had mentioned the proper way with vanilla vscode.

Hope this helps you somehow.

Upvotes: 2

Related Questions