Overview Version History Q & A Rating & Review
Copy Path with Code 📋✨
A powerful Visual Studio Code extension that revolutionizes how you copy and manage code snippets with their file paths. Perfect for developers who need to share code with context, create documentation, or organize related files efficiently.
🌟 Features
🎯 Core Copying Capabilities
Smart Path + Content Copying - Copy file paths along with their content in one action
Selective Copying - Copy specific code selections with precise line numbers
Multi-file Support - Accumulate multiple files in clipboard with automatic deduplication
Error-Enhanced Copying - Special formatting for error messages with line context
Clipboard Detection - Automatically detect and parse files from clipboard content
📁 Advanced Folder Management
Code Folders - Organize related files into custom folders
Visual File Browser - Interactive tree view for adding/removing files from folders
Batch Operations - Open all files in a folder or copy their entire contents
Smart Organization - Workspace-aware folder organization
🔄 Clipboard Management
Temporary Storage - Save and restore clipboard contents
Clipboard Monitoring - Real-time detection of files copied to clipboard
Visual Queue - View and manage detected files in the Clipboard Files panel
File Previews - Quick preview of detected clipboard files
🔍 Search & Navigation
Advanced Search - Search files and folders with filtering options
Workspace/Global Views - Switch between workspace-specific and global folder views
File Operations - Full context menu support for file management
🚀 Quick Start
Installation
Open Extensions in VS Code (Ctrl+Shift+X
/ Cmd+Shift+X
)
Search for "Copy Path with Code"
Click Install
Reload VS Code when prompted
Basic Usage
Open any file in VS Code
Click inside the editor to activate the text area
Select text (optional) or keep cursor position for full file
Press Ctrl+Alt+C
(Win/Linux) or Cmd+Alt+C
(Mac)
Paste anywhere - get formatted output with path and content!
⌨️ Keyboard Shortcuts
Action
Windows/Linux
macOS
Copy Path and Content
Ctrl+Alt+C
Cmd+Alt+C
Copy with Error Formatting
Ctrl+Alt+A
Cmd+Alt+A
Clear Clipboard
Ctrl+Alt+Z
Cmd+Alt+Z
Add to Folder
Ctrl+Alt+Shift+A
Cmd+Alt+Shift+A
Remove from Folder
Ctrl+Alt+D
Cmd+Alt+D
Save to Temp
Ctrl+Alt+Q
Cmd+Alt+Q
Restore from Temp
Ctrl+Alt+E
Cmd+Alt+E
📁 Folder Management
Creating Code Folders
Click the folder icon in the activity bar to open Code Folders view
Click the + button to create a new folder
Name your folder and choose to start empty or with open files
Managing Files
Add Files : Right-click folder → "Add File to Folder"
Remove Files : Right-click folder → "Remove File from Folder"
Batch Operations : Open all folder files or copy their contents
🔄 Clipboard Features
Temporary Storage
Save Current Clipboard : Ctrl+Alt+Q
- Moves current clipboard to temp storage
Restore from Temp : Ctrl+Alt+E
- Restores previously saved clipboard
Visual Indicator : Status bar shows temp file count
Clipboard Detection
Automatic Parsing : Detects files copied to clipboard
Visual Queue : View detected files in "Clipboard Files" panel
File Previews : Click any detected file to open a preview
🎨 Interface Overview
Activity Bar Components
Code Folders View - Manage your code folders
Clipboard Files Panel - View detected clipboard files
Status Bar Indicators
File Count : Current clipboard file count
Temp Storage : Files in temporary storage
📝 Release Notes
Version 1.0.0
Complete rewrite with enhanced architecture
Advanced folder management system
Clipboard detection and temporary storage
Improved search and filtering capabilities
Workspace-aware folder organization
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Coding! 🎉