Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Block Copying Feature Needed in Generated Responses 📋 #110

Open
GPSxtreme opened this issue Jan 25, 2025 · 0 comments
Open

Code Block Copying Feature Needed in Generated Responses 📋 #110

GPSxtreme opened this issue Jan 25, 2025 · 0 comments

Comments

@GPSxtreme
Copy link

Description

Currently, there is no straightforward way to copy solely the code block from a generated response. Users must either:

  • Copy the entire message, which may include unnecessary text, or
  • Manually select the text within the code block, which can be cumbersome.

Proposed Solution

  • Add a Copy Icon: Introduce a copy icon specifically on the code blocks within generated responses. This icon should allow users to copy the code block content with a single click, enhancing ease of use and efficiency.

Benefits

  • Efficiency: Streamlines the process of copying code for users, saving time and reducing potential errors from manual selection.
  • User Experience: Provides a clean, intuitive interface that caters to users' needs, especially developers or technical writers who frequently work with code snippets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant