ClipPrompt READMEClipPrompt is a Visual Studio Code extension that allows users to quickly add code selections to a prompt string and copy the content of that string to the clipboard. Why? What is the problem we are solving here?For generating effective prompts, it's crucial to supply relevant context. In large projects, it's not ideal to include the entire repository as context, as this can lead to token wastage and reaching API limits. Instead, the context should be as concise and focused as possible. ClipPrompt enables you to assemble snippets, automatically appending the full file path for each copied snippet, to create a more compact context. This approach enhances the quality of your prompts and helps you conserve valuable tokens in the process! FeaturesClipprompt adds two commands to the right-click context menu in the editor:
These commands also have default keybindings, which you can customize in your Keyboard Shortcuts settings (
RequirementsThere are no special requirements or dependencies for Clipprompt. Just install the extension and start using it. Known IssuesThere are no known issues at the moment. If you encounter any problems, please open an issue on the GitHub repository. Release Notes1.0.0Initial release of Clipprompt. 1.1.0Added default keybindings for commands, which users can customize. Enjoy! |