Overview Version History Q & A Rating & Review
Copy Contents Pro (CCPro) 🚀
A VS Code extension that lets you copy file/folder contents with commented filenames directly from the Explorer context menu. Perfect for sharing code snippets while preserving file structure!
Features ✨
📋 One-click Copy - Right-click any file/folder → "Copy Contents with Comments"
🗂 Recursive Processing - Handles nested folders with proper indentation
💡 Smart Comments - Auto-detects comment syntax for 15+ file types:
// File: src/index.js
# File: utils/helper.py
⚙️ Configurable - Set max file size (default: 5MB) via settings
🚫 Size Protection - Automatically skips large binary files
📤 Clipboard Ready - Formatted output works with emails, docs, and chat apps
Installation ⬇️
Marketplace
Open VS Code Extensions (Ctrl+Shift+X)
Search for "Copy Contents Pro"
Click Install
Manual Install
# Install from VSIX
code --install-extension ccpro-1.0.0.vsix
Usage 🖱️
In VS Code Explorer:
Right-click a file/folder
Select "📋 Copy Contents with Comments"
Paste anywhere (Ctrl+V) to get:
<!-- File: index.html -->
<!DOCTYPE html>
<html>...</html>
<!-- File: styles/main.css -->
/* CSS styles here */
Configuration ⚙️
Add these to your VS Code settings (JSON):
{
"ccpro.maxFileSize": 5242880, // 5MB in bytes
"ccpro.ignoredFiles": ["*.exe", "*.zip"],
"ccpro.headerTemplate": "// File: {path} // Created: {timestamp}"
}
Known Issues ⚠️
Binary files are skipped automatically
Very deep folder structures may take longer to process
Files without extensions use //
comments by default
Support & Funding 💖
Love CCPro? Help us improve it!
Pro Version Coming Soon!
✅ Custom templates ✅ Cloud sync ✅ Team licenses
Development 🛠️
git clone https://github.com/notnotdurgesh/vsCode_Copyier.git
cd CCPro
npm install
npm run compile
License 📄
MIT © 2024 Durgesh