Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Create from PathNew to Visual Studio Code? Get it now.
Create from Path

Create from Path

Till Salinger

|
313 installs
| (0) | Free
Create path hierarchies at once
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Create from Path README

Creates a file or folder and all its parent folders given a path string e.g. 'src/main/java/Main.java' will create the following path:

\---src
    \---main
        \---java
                Main.java

Creating Folders or a File

Creating directories only: Terminate your string with a (back-)slash, e.g. 'src/main/java/'.
Creating a file: Don't terminate your string with a (back-)slash, e.g. 'src/main/java/Main.java'.

Launch Options

There are two ways to launch this extension:

  1. File explorer: Right click on a file/folder and choose 'Create from Path'. The new path will be created in that place.
  2. 'Create from Path' command. If you use the command while having a file open, the new path will be created there. Otherwise, it will be created in the root folder of the currently open workspace. A workspace picker is shown in case of multiple open workspaces.

Release Notes

1.0.0

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft