Sakura Copy 🌸
Quickly copy the contents of all open files into a single document or clipboard.
Sakura Copy helps you quickly copy the contents of all open files (with full file paths) into a single new document. Designed for sharing code with AI tools or collaborators, it supports filtering secrets and irrelevant files so you can safely and efficiently pass along your codebase context.
With commands to copy to a new file or directly to the clipboard, you can customize path inclusion, exclude files with glob patterns, and even redact secrets automatically.
Features
Copy to New File
Merges all open, non-empty files into a new untitled document for easy saving and sharing.
Copy to Clipboard
Merges all content directly into your clipboard, perfect for pasting into AI chats or documents.
Secret Detection & Redaction
Automatically detects and redacts sensitive information like API keys and secrets before copying.
Customizable Paths
Choose to include full absolute paths, project-relative paths, or just filenames in the output.
File Exclusion
Exclude files from being copied using glob patterns (e.g., *.log, **/node_modules/**).
Configurable Defaults
Set your preferred default copy behavior (new file or clipboard) for maximum efficiency.
Commands
SakuraCopy: Copy Open Files: Copies open files based on your default setting.SakuraCopy: Copy Open Files to Clipboard: Explicitly copies all open files to the clipboard.SakuraCopy: Open Settings: Quickly access the extension's settings.
Extension Settings
SakuraCopy.defaultCopyBehaviour: Sets the default action for theCopy Open Filescommand (fileorclipboard).SakuraCopy.includePaths: Toggles whether to include file paths above the content (trueorfalse).SakuraCopy.pathStyle: Sets the path format whenincludePathsis enabled (fullorrelative).SakuraCopy.excludePatterns: List of glob patterns for files to exclude from copying. Supports wildcards like*,**, and?. Examples:*.log,**/node_modules/**,.env*.
Release Notes
[0.0.1] - 2025-09-21
- Initial release of Sakura Copy.
- Features:
- Copy all open files to a new document.
- Copy all open files to the clipboard.
- Include and customize file paths (full, relative, or none).
- Configurable default copy behavior.
- Exclude files from being copied using glob patterns.
- Automatic secret detection and redaction.