Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Add a copy button on code blocks displayed in the webviews #66

Description

@frgfm

🚀 Feature

We should add copy button for code blocks.

Most LLM chat services have it, typically this is how it looks like in ChatGPT:
image

Motivation & pitch

Since the goal of the chat interface is to speed up or remove bottlenecks for developers, it produces code quite often. We need to make that interaction more natural.

Alternatives

Here are some resources about how to do this (even though, it's not visually appealing):

Additional context

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions