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

Inline Comment Feature is Including Unselected Code #339

Open
runjinz opened this issue Apr 16, 2024 · 0 comments
Open

Inline Comment Feature is Including Unselected Code #339

runjinz opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
enhancement P0 Urgent and, hopefully, important

Comments

@runjinz
Copy link

runjinz commented Apr 16, 2024

Hello team,

I've encountered an issue with the inline comment functionality where the generated comments include code that was not selected. This seems to happen in certain modes and provides a suboptimal experience.

Steps to Reproduce

  1. Enter the specific mode where the issue is observed.
  2. Select a portion of code to comment on.
  3. Generate an inline comment.

Expected Behavior

The comment generated should strictly include only the selected piece of code.

Actual Behavior

The generated comment includes both the selected code and additional, unselected code snippets.

This issue does not occur consistently across all modes but has negatively impacted the user experience where it does appear. Looking forward to a solution or any workaround that might be available.

Thank you for addressing this issue.

img_v3_029t_378db743-01eb-4855-8155-0bb55873569g

@runjinz runjinz added P0 Urgent and, hopefully, important enhancement labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement P0 Urgent and, hopefully, important
Projects
None yet
Development

No branches or pull requests

2 participants