Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

DirFromTemplate

Deutsche Version

This VS Code extension allows you to quickly and easily create directory structures from named JSON templates.

Features

  • Creates directory structures and empty files based on JSON templates
  • Supports multiple named structures in one template file
  • Easy access through the context menu for folders in Explorer
  • Automatically skips existing files and directories
  • Multilingual (English and German)

Usage

  1. Create a .vscode/dir-template.json file in your workspace with the following structure:
{
  "Example-Template-Name": {
    "Example-Dir": {
      "Example-Subdir": {},
      "Example-Empty-File.txt": "FILE"
    }
  },
  "webProject": {
    "src": {
      "js": {},
      "css": {},
      "assets": {
        "images": {},
        "fonts": {}
      },
      "index.html": "FILE"
    },
    "docs": {},
    "README.md": "FILE"
  },
  "nodeBackend": {
    "src": {
      "controllers": {},
      "models": {},
      "routes": {},
      "utils": {}
    },
    "tests": {},
    "config": {},
    "package.json": "FILE",
    "README.md": "FILE"
  }
}
  1. Right-click on any folder in Explorer
  2. Select "Create Directory Structure from Template"
  3. For multiple templates: Choose the desired structure

Notes

  • Empty objects {} in the JSON structure represent folders
  • The value "FILE" marks an empty file
  • Existing files and folders are skipped

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Feedback and Reviews

If you like this extension, please leave a rating in the marketplace. For bug reports or feature requests, visit the GitHub repository.

Installation

VS Code - Install Now

Or search for "DirFromTemplate" in the VS Code Extensions view (Ctrl+Shift+X).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages