Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Merge FilesNew to Visual Studio Code? Get it now.
Merge Files

Merge Files

Pr1t3

|
29 installs
| (0) | Free
Merge files into 1 new file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Merge Files - Visual Studio Code Extension

Merge Files is a Visual Studio Code extension that allows you to merge the contents of multiple files into a single new file. This extension is designed to simplify the process of combining files, making it especially useful for developers and content creators.

Features

  • Merge Multiple Files: Select two or more files in the Explorer and merge their contents into a new file.
  • Custom File Name: Specify the name of the output file during the merge process.
  • File Path Validation: Ensures that selected files exist and prevents overwriting existing files unintentionally.
  • Preserve File Context: Includes the relative path of each file in the merged output for better traceability.

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing Ctrl+Shift+X.
  3. Search for Merge Files.
  4. Click Install.

Alternatively, you can install the extension manually by downloading the .vsix file from the GitHub repository and installing it via the Extensions view.

Usage

  1. Open the Explorer view in Visual Studio Code.
  2. Select two or more files you want to merge.
  3. Right-click and choose Merge selected files from the context menu.
  4. Enter the name of the new file in the input box.
  5. The merged file will be created in the workspace with the specified name.

Requirements

  • Visual Studio Code version ^1.98.0 or higher.
  • Node.js and npm installed for development and testing.

Extension Settings

This extension does not contribute any settings.

Known Issues

  • Files with large content may take longer to merge.
  • The extension does not currently support merging binary files.

Contributing

Contributions are welcome! If you encounter any issues or have feature requests, please open an issue or submit a pull request on the GitHub repository.

Release Notes

[Unreleased]

  • Initial release.

License

This extension is licensed under the MIT License.


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