Copy File Content is a plugin that enhances your workflow by allowing you to quickly copy the contents of selected files and directories to the clipboard, formatted according to customizable settings.
To install the Copy File Content plugin in IntelliJ IDEA, follow these steps:
Settings/Preferences > Plugins > Marketplace > Search for "copy-file-content" > Install
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Once the plugin is installed, you can use it to copy file content in the following way:
- Select the files or directories whose content you want to copy.
- Right-click on the selection.
- Choose the "Copy File Content to Clipboard" option from the context menu.
Settings can be found searching for Copy File Content Settings
under Preferences
.
- Copy Content: Copy the content of multiple files to the clipboard.
- Customizable Text Structure: Define pre-text, file header text, and post-text for copied content.
- File Copying Constraints: Set a maximum number of files to copy content from to prevent memory issues.
- File Extension Filters: Specify which file extensions should be copied.
- Copy Information: Receive information about the copied items, including the number of files copied, total lines, total words, and an estimate of tokens for the copied content.
This plugin is licensed under the MIT License.
For any issues or feature requests, please open an issue on GitHub.
This plugin is developed by Marcelo W. Guerra. You can contact the author via email at [email protected] or visit his website for more information.
Plugin based on the IntelliJ Platform Plugin Template.