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

[CON-224] /edit doesn't acknowledge highlighted code after retrying #1013

Closed
3 tasks done
Tracked by #1009
sestinj opened this issue Mar 22, 2024 · 3 comments · Fixed by #1021
Closed
3 tasks done
Tracked by #1009

[CON-224] /edit doesn't acknowledge highlighted code after retrying #1013

sestinj opened this issue Mar 22, 2024 · 3 comments · Fixed by #1021
Assignees
Labels
bug Something isn't working

Comments

@sestinj
Copy link
Contributor

sestinj commented Mar 22, 2024

Before submitting your bug report

Relevant environment info

- OS:Mac
- Continue:0.9.91
- IDE:VS Code

Description

Retrying an /edit slash command leads to Continue thinking that no code is highlighted. This is probably related to the way that state is managed in Redux. You can see where the error is thrown here, so following this variable backward will lead to the root cause

bug.mov

To reproduce

  1. Highlight code
  2. Type something like "/edit add comments"
  3. Let it run, then close the diff window
  4. Try to edit the original message and press enter again

Log output

No response

CON-224

@sestinj sestinj added the bug Something isn't working label Mar 22, 2024
@sestinj sestinj changed the title /edit doesn't acknowledge highlighted code after retrying [CON-224] /edit doesn't acknowledge highlighted code after retrying Mar 22, 2024
@Nithishvb
Copy link
Contributor

Hey @sestinj i would like to work on this bug, could you please assign this to me.

@sestinj
Copy link
Contributor Author

sestinj commented Mar 23, 2024

Absolutely! And let me know if I can help

@Nithishvb
Copy link
Contributor

Sure 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants