Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Project Structure CopyNew to Visual Studio Code? Get it now.
Project Structure Copy

Project Structure Copy

Marc Marcet

|
2,252 installs
| (0) | Free
Copy your project's hierarchy and files into the clipboard, useful for sending your whole environment as context to an AI.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Project Structure Copy

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:

  1. Open your workspace project in Visual Studio Code.
  2. Press Ctrl+Shift+P to open the command palette.
  3. Search for "Copy Project Structure: Copy Project" and press Enter.
  4. The directory structure of your project will be copied to the clipboard.
  5. 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.

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