Hacker News new | ask | show | jobs
Show HN: VS Code Extension to Automate Copying Project Files for AI Tools (marketplace.visualstudio.com)
1 points by soheilH 470 days ago
Hey HN, I spent a lot of time copying and pasting files from my IDE to various AI providers for documentation and code analysis. So, I built an open source tool to make that process more seamless.

It's a simple VS Code extension called Code2Clipboard. It automatically copies your main project files to the clipboard, formatted like this:

// relative/path/to/file/1 {file_1_content}

// relative/path/to/file/2 {file_2_content}

It skips build and dist files, as well as any directories listed in your .gitignore. This helps keep things clean and relevant.

You can find it here on the VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=sohei1l....

It's also open source, so feel free to contribute if you find any issues!

GitHub: https://github.com/sohei1l/code2clipboard