π The ultimate Extension for managing folder structures with ease!
- Features
- Quick Start
- Settings
- How to Use
- Live Previews
- Output Examples
- How It Works
- Troubleshooting
- License
- Contact
- π― Two Output Formats: JSON & Plain Text (GitIngest-style tree)
- π±οΈ Right-Click Integration: Easy access from Explorer context menu
- π Respects .gitignore: Automatically excludes ignored files
- β‘ Smart Filtering: Skips node_modules and hidden files
- π Multiple Input Formats: Support for JSON and Plain Text
- π₯οΈ Modern UI: Live preview, validation, and line numbers
- π Smart Handling: Replace/Skip prompts for existing files
- ποΈ Safe Replace: Sends replaced items to Trash
- β‘ One-Click Copy: Quick file name copying to clipboard
- π― Simple & Fast: Right-click any file to copy its name
- π₯ Install the extension from VS Code Marketplace
- π±οΈ Right-click any folder in Explorer
- π― Choose "Copy Folder Structure" or "Create Folder Structure"
- π Done! Your structure is ready to use
- π±οΈ Right-click a folder in VS Code Explorer
- π Select "Copy Folder Structure"
- π Structure is copied to clipboard in your preferred format (JSON/Plain Text)
- π±οΈ Right-click in Explorer OR use Command Palette (
Ctrl+Shift+P
) - π― Choose "Create Folder Structure"
- π Select the target directory
- π Choose format and paste your structure
- β¨ Click Create and watch the magic happen!
- π±οΈ Right-click any file β π "Copy File Name"
Configure the extension to work exactly how you want:
- π outputFormat: Choose between JSON Format or Plain Text Format
- π« ignorePatterns: Specify patterns to ignore when copying structures
- π respectGitignore: Honor .gitignore rules (recommended: enabled)
Perfect for programmatic use - files are represented as type strings:
{
"app": {
"api": {
"analyze-typography": {
"route": "ts"
}
},
"favicon": "ico",
"globals": "css",
"layout": "tsx",
"page": "tsx"
}
}
Human-friendly GitIngest-style tree structure:
Directory structure:
βββ app/
βββ api/
β βββ analyze-typography/
β βββ route.ts
βββ favicon.ico
βββ globals.css
βββ layout.tsx
βββ page.tsx
- β First line is treated as a header (can contain any text)
- π Every line must use tree connectors (
βββ
orβββ
) - π Exactly one root directory ending with
/
- π Consistent indentation (increases by one level each time)
β οΈ Invalid lines are highlighted; confirmation required if errors exist
- π Scans the selected folder intelligently
- π Respects .gitignore and exclude patterns
- π« Filters out node_modules and hidden files automatically
- π Copies structure in your chosen format (JSON or Plain Text)
- π Reads input from the modern webview interface
- β Validates and parses structure (JSON or Plain Text)
β οΈ Prompts for Replace/Skip when items already exist- β¨ Generates folders and files safely (no accidental overwrites)
- π±οΈ Right-click any file in Explorer
- π Copies the file name directly to clipboard
π« No Option in Context Menu
- π Solution: Reload VS Code (
Ctrl+Shift+P
β "Reload Window")
π Clipboard Not Working
- π Solution: Check system clipboard permissions
β Input Error (Create Function)
- π Solution: Ensure input follows correct JSON or Plain Text format
π Copy File Name Not Working
- π Solution: Make sure you've selected a valid local file (not a folder)
MIT License β see LICENSE for details
π Found a bug? π Have a feature request?
Open an issue on our GitHub repository
Made with β€οΈ for developers worldwide π
β If this extension helped you, please consider giving it a star on the GitHub and marketplace!