[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CodePaste Wizard is an open-source utility designed to streamline the process of combining and de-duplicating code snippets, especially those generated by AI language models like Claude and ChatGPT. It intelligently merges multiple code snippets, removing overlaps to create a cohesive, single piece of code.

License

Notifications You must be signed in to change notification settings

intervener/CodePaste-Wizard

Repository files navigation

CodePaste Wizard

CodePaste Wizard is an open-source utility designed to streamline the process of combining and de-duplicating code snippets, especially those generated by AI language models like Claude and ChatGPT. It intelligently merges multiple code snippets, removing overlaps to create a cohesive, single piece of code.

screenshot

*Detected filename will be automatically retrieved from the top of your code if available. You can prompt Claude "List filename at top of code window"

Features

Merge up to 10 code snippets with automatic overlap detection and removal User-friendly interface with numbered slots for easy snippet management Support for clearing individual slots or all slots at once Clipboard integration for quick copy-paste operations Persistent storage of snippets and settings between sessions

Installation

Clone the repository:

Open the solution in Visual Studio. Build the solution (Ctrl+Shift+B). Run the application (F5).

Usage Instructions

Adding Code Snippets:

Click on any numbered button (1-10) at the top of the application. Paste your code snippet into the left text box. The snippet is automatically saved to the selected slot.

Managing Snippets:

Switch between snippets by clicking the numbered buttons. Use the "Clear Slot" button to remove the content of the current slot. Use the "Clear All" button to remove all snippets.

Processing Snippets:

After adding your snippets, click the "Process" button. The application will merge all non-empty snippets, removing overlaps. The result appears in the right text box.

Copying Results:

Use the "Copy" buttons above or below the output box to copy the processed code to your clipboard.

Contributing

Contributions to CodePaste Wizard are welcome! Please feel free to submit pull requests, create issues or suggest enhancements.

Fork the repository

Create your feature branch (git checkout -b feature/AmazingFeature) Commit your changes (git commit -m 'Add some AmazingFeature') Push to the branch (git push origin feature/AmazingFeature) Open a Pull Request

License

This project is licensed under the GNU General Public License (GPL) - see the LICENSE.md file for details. Acknowledgments

This project was inspired by the need to efficiently handle code snippets generated by AI language models. Special thanks to the authors of the diff-match-patch library and the open-source community for their invaluable tools and libraries.

About

CodePaste Wizard is an open-source utility designed to streamline the process of combining and de-duplicating code snippets, especially those generated by AI language models like Claude and ChatGPT. It intelligently merges multiple code snippets, removing overlaps to create a cohesive, single piece of code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages