Amathron Copy File To Clipboard is a Visual Studio Code extension for copying files and folders to the clipboard from the explorer context menu.
Features
Seamless Integration: Easily copy files and folders directly from the VS Code context menu.
File Manager Compatibility: Copies items as file objects for the current operating system.
Cross-platform Support: Supports Windows, macOS, and Linux.
Multi-file Support: Copy single files, folders, or multiple selected items at once.
Efficiency Boost: Enhances productivity by simplifying the file copying process within your development workflow.
Demo
Installation
The extension can be installed directly from the Visual Studio Code Marketplace. Search for "Amathron Copy File To Clipboard" and click 'Install'.
Requirements
Windows: PowerShell is used to write file objects to the clipboard.
macOS: osascript is used to write Finder-compatible file objects to the clipboard.
Linux: Install one of wl-clipboard, xclip, or xsel so the extension can write x-special/gnome-copied-files clipboard data.
Usage
Right-click on any file or folder in the VS Code explorer panel and select "Copy to clipboard (as object)" from the context menu to copy the selected items. You can also select multiple files/folders and copy them all at once.
Contributing
Contributions to improve Amathron Copy File To Clipboard are welcome. Feel free to open issues or submit pull requests.
Release Notes
1.1.1 (Latest)
Code Simplification: Removed redundant backup method, simplified to single reliable PowerShell implementation
Improved Reliability: Streamlined PowerShell script for better compatibility
Enhanced Error Handling: Cleaner error messages and success detection
Project Cleanup: Removed unused TypeScript files and build configurations
Optimized Dependencies: Reduced package size and dependencies
1.0.2
Github link to readme fixed.
1.0.1
Using a copy npm package as a core dependency.
1.0.0
Initial release with basic copy-to-clipboard functionality.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have feature suggestions, please open an issue on the project's GitHub repository.
Acknowledgments
Special thanks to all the contributors and users of the extension for their support and feedback.