Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Folder ContentsNew to Visual Studio Code? Get it now.
Copy Folder Contents

Copy Folder Contents

CHENJIAMIAN

|
74 installs
| (0) | Free
复制文件夹里各文件的内容到粘贴板
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Folder Contents

A powerful Visual Studio Code extension that empowers you to easily copy the contents of folders with optional filtering and exclusion capabilities.

1. Introduction

The "Copy Folder Contents" extension provides a convenient way to copy the contents of files from within a selected folder, formatting it in a way that is ready to paste into documents or other code editors.

2. Features

  • Right-click functionality: Copy the contents of any selected folder directly from the VSCode Explorer.
  • Customizable Filtering: Include or exclude files based on file extensions (e.g., .js, .css).
  • Exclusion Patterns: Exclude files or patterns of files (e.g., .test.js) for finer control.
  • Formatted Output: The copied content includes the file's relative path and is neatly formatted with code blocks for easy pasting.

3. Requirements

  • Visual Studio Code: This extension requires the Visual Studio Code editor.

4. Known Issues

  • Currently, the copied content does not include the names of the files or folders themselves.

5. Release Notes

0.0.1

  • Initial release with core functionality:
    • Folder content copying
    • Customizable file extensions filtering
    • File exclusion patterns
    • Code block formatting of file content

6. Following Extension Guidelines

This extension adheres to the Visual Studio Code extension guidelines to ensure quality, maintainability, and a consistent user experience.

7. More Information

  • Extension Guidelines: https://code.visualstudio.com/api/references/extension-guidelines
  • VSCode Markdown Support: http://code.visualstudio.com/docs/languages/markdown
  • Markdown Syntax: https://help.github.com/articles/markdown-basics/

8. Feedback and Contributions

Your feedback is valuable! To report issues, suggest new features, or directly contribute to the extension, please visit the project repository on GitHub: [GitHub Repository Link] (Insert the GitHub repository link here)

Thank you for using the "Copy Folder Contents" extension!

Let me know if you'd like any of the descriptions expanded or additional information included!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft