Project Structure Copy is a Visual Studio Code extension that allows users to copy the directory structure of their workspace projects to the clipboard, along with an option to include file contents.
Perfect for copying small projects and sending them as context for your AI questions.
Usage
To use the extension, follow these steps:
Open your workspace project in Visual Studio Code.
Press Ctrl+Shift+P to open the command palette.
Search for "Copy Project Structure: Copy Project" and press Enter.
The directory structure of your project will be copied to the clipboard.
You can paste the copied structure into an AI input.
Configuration
You can configure the extension through VS Code settings:
projectStructure.exclusions: List of directories to exclude from the project structure.
projectStructure.includeFileContent: Whether to include file contents in the copied structure.
Keyboard Shortcut
The extension comes with a default keyboard shortcut: Ctrl+Alt+C.