Welcome to Copy For AI! 🚀 This Visual Studio Code extension lets you seamlessly copy content from your files to your clipboard, formatted and ready for AI interactions. Perfect for quickly sharing context with Large Language Models (LLMs) or collaborative tools. 🤖✨
🆕 New - Smart Selection Copy
Now you can copy only the parts you need! Select portions of code from any number of files, and the extension will copy just those selections with their line numbers. If a file has no selection, it'll copy the entire file - giving you the perfect mix of flexibility and convenience.
🌟 Features
🗂️ Copy All Open Files: Automatically gathers content from every open file in your workspace
📄 Copy Current File: Quickly copy just the content of your active file
✨ Smart Selection Copy: Copy selected portions from all open files, or entire content if no selection
📝 File Information: Includes relative file paths and line numbers for better context
🔗 Clipboard Ready: Formats the content and copies it directly to your clipboard
⚡ One-Click Simplicity: Multiple copy options available through simple commands
🚀 How to Use
The extension provides three main commands:
Copy All Open Files
Command: Copy For AI: Copy open files content to ai
Use when you want to share the content of all open files
Copy Current File
Command: Copy For AI: Copy current tab content to ai
Perfect for when you only need to share the active file
Copy Selections
Command: Copy For AI: Copy selections from all opened tabs
Copies selected portions from all open files
If no selection in a file, copies its entire content
Includes line numbers for selections
To use any command:
Open Command Palette: Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)