- β¨ Features
- π Quick Start
- π Detailed Usage
- βοΈ Settings
- πΈ Preview
- π How It Works
- β Troubleshooting
- π License
- π¬ Contact
-
Copy Folder Structure π
- Two Output Formats:
- π³ Plain Text Format (GitIgnest-style tree structure) (default)
- π JSON Format
- Right-click menu integration
- Smart
.gitignore
handling
- Two Output Formats:
-
Create Folder Structure ποΈ
- Support for both JSON and Plain Text formats
- Interactive UI with examples
- Input validation
-
Copy File Name π
- Quick file name copying
- Error handling and feedback
- Install the extension
- Right-click any folder in Explorer
- Choose "Copy Folder Structure" or "Create Project Using Folder Structure"
- Right-click a folder in Explorer
- Select Copy Folder Structure
- Structure is copied in your preferred format (JSON/Plain Text)
- Right-click in Explorer or use Command Palette
- Choose Create Folder Structure
- Enter target directory
- Select format and paste structure
- Click Submit
- Right-click any file
- Select Copy File Name
- Right-click a folder in Explorer and select Copy Folder Structure.
- Alternatively, open the Command Palette (
Ctrl+Shift+P
) and search for Copy Folder Structure.
- Right-click a folder in Explorer and select Create Project Using Folder Structure.
- Alternatively, open the Command Palette (
Ctrl+Shift+P
) and search for Create Project Using Folder Structure.
- Alternatively, open the Command Palette (
- Enter the target directory path where the structure should be created.
- Choose the input format (
JSON
orPlain Text
). - Provide the folder structure input (e.g., from Copy Folder Structure) in the UI editor and click Submit.
- Right-click a file in Explorer and select Copy File Name.
- Alternatively, open the Command Palette (
Ctrl+Shift+P
) and search for Copy File Name.
- outputFormat: Choose between:
JSON Format
Plain Text Format
- ignorePatterns:
- Add the folders you usually ignore here
- Modify this setting in Settings (
Ctrl+,
) underfolderStructure
.
- JSON Format:
{ "app": { "index.js": null, "hello.js": null }, "test": { "test.ts": null } }
- Plain Text Format (GitIgnest-style, LLM-friendly):
Directory structure: βββ project/ βββ app/ β βββ index.js β βββ hello.js βββ test/ βββ test.ts
- Scans the folder structure, respecting
.gitignore
files. - Excludes files like
node_modules
and hidden files by default. - Copies the structure to the clipboard in the selected format:
- JSON: Standard hierarchical object representation
- Plain Text: GitIgnest-style format that's easily readable by both humans and LLMs
- Reads user input from the provided webview.
- Validates and parses the input (
JSON
orPlain Text
). - Generates folders and files in the specified target directory.
- Right-click a file in the Explorer.
- Copies the file name to the clipboard.
- Supports only local files and provides feedback on success or error (e.g., file inaccessible, permission denied).
- No Option in Context Menu: Reload VS Code (
Ctrl+Shift+P
βReload Window
). - Clipboard Not Working: Check system permissions.
- Input Error (Create): Ensure the input follows the required JSON or Plain Text format.
- Copy File Name Not Working: Ensure a valid, accessible file is selected.
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or feedback, open an issue on the GitHub repository.