Skip to content

A Visual Studio Code extension simplifies the process of sharing files with chatbots for debugging or review.

License

Notifications You must be signed in to change notification settings

swamy3697/copy-mate

Repository files navigation

Copy Mate - VS Code File Content Copier

Copy Mate Banner

Visual Studio Marketplace Version Visual Studio Marketplace Downloads GitHub GitHub issues

Copy Mate simplifies sharing code with AI chatbots, team members, or for debugging by letting you copy multiple files with their paths in just a few clicks.

🎯 Quick Demo

Copy Mate start Copy Mate home

✨ Features

  • 🗂️ Easy File Selection: Browse and select files through a familiar tree view
  • 📋 Smart Copying: Copies both file paths and content in a chat-friendly format
  • 🌳 File Tree Structure: Copy your file structure as a tree visualization
  • 🎨 Modern UI: Clean, intuitive interface with loading animations

🚀 Getting Started

1. Install the Extension

  • Open VS Code
  • Press Ctrl+P (Windows/Linux) or Cmd+P (Mac)
  • Type ext install copy-mate
  • Press Enter

2. Using Copy Mate

  1. Open your project in VS Code
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  3. Type "Copy Mate" and press Enter
  4. Select files or folders in the interface:
    • Click checkboxes next to files to select them
    • Use folder checkboxes to select all files within
  5. Choose your copying option:
    • Click "Copy Content" for file content with paths
    • Click "Copy Structure" for a tree visualization

📝 Example Output

Content Copy

File Path: /src/index.js
Content:
console.log('Hello World');

File Path: /src/styles.css
Content:
body { background: #fff; }

Structure Copy

└── src
    ├── components
    │   ├── Button.tsx
    │   └── Input.tsx
    └── utils
        └── helpers.ts

🔧 Extension Settings

  • copyMate.includePaths: Enable/disable including file paths (default: true)
  • copyMate.maxFileSize: Maximum file size to copy in KB (default: 1000)

🤝 Contributing

We welcome contributions to Copy Mate! Here's how you can help:

  1. Fork the repository: https://github.com/swamy3697/copy-mate.git
  2. Create your feature branch:
    git checkout -b feature/AmazingFeature
  3. Commit your changes:
    git commit -m 'Add some AmazingFeature'
  4. Push to the branch:
    git push origin feature/AmazingFeature
  5. Open a Pull Request.

📝 License

This project is licensed under the MIT License.

💡 Tips

  • Use the folder checkbox to quickly select all files in a directory.
  • Press ESC to close the Copy Mate interface.
  • Right-click in the file tree for additional options.

🐛 Known Issues & Solutions

Issue Solution
Slow loading with large projects Use folder selection instead of individual files.
Special characters in paths Avoid selecting files with special characters.

🎉 What's New

Version 1.0.0

  • Added file tree structure copying.
  • Improved loading performance.
  • Modern UI with loading animations.
  • Better error handling.

About

A Visual Studio Code extension simplifies the process of sharing files with chatbots for debugging or review.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •