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

Improve copy + paste formatting for Q responses #4991

Open
aerle opened this issue May 14, 2024 · 0 comments
Open

Improve copy + paste formatting for Q responses #4991

aerle opened this issue May 14, 2024 · 0 comments
Labels
amazonq bug We can reproduce the issue and confirmed it is a bug. codewhisperer

Comments

@aerle
Copy link

aerle commented May 14, 2024

Problem

When copying + pasting responses from Q, newlines are added whenever text formatted as code (enclosed in backticks) is met.

Steps to reproduce the issue

  1. Ask Q a question. For instance:

Could you explain the secretValueFromJson method offered by the Secret construct in CDK?

  1. Await for Q's response:

The secretValueFromJson method is part of the ISecret interface in the AWS Cloud Development Kit (CDK). [...]

  1. Copy + paste the response. The pasted text contains newlines for each time code is encountered:

The
secretValueFromJson
method is part of the
ISecret
interface in the AWS Cloud Development Kit (CDK).

Screenshot 2024-05-14 at 3 00 45 PM

Expected behavior

Nicely-formatted text that does not contain the aforementioned newlines:

The secretValueFromJson method is part of the ISecret interface in the AWS Cloud Development Kit (CDK).

Enclosing any code with backticks would be a plus, but not really necessary.

System details (run AWS: About and/or Amazon Q: About)

  • OS: macOS 14.4.1 (23E224)
  • Visual Studio Code version: 1.89.1 (Universal)
  • AWS Toolkit version: N/A
  • Amazon Q version: v1.4.0
@aerle aerle added the bug We can reproduce the issue and confirmed it is a bug. label May 14, 2024
@ivikash ivikash added ux user experience and removed ux user experience labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazonq bug We can reproduce the issue and confirmed it is a bug. codewhisperer
Projects
None yet
Development

No branches or pull requests

3 participants