continue icon indicating copy to clipboard operation
continue copied to clipboard

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

Open sestinj opened this issue 11 months ago • 3 comments

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

https://github.com/continuedev/continue/assets/33237525/b0415256-1657-4543-a564-46cc2128e668

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 avatar Mar 22 '24 01:03 sestinj

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

Nithishvb avatar Mar 23 '24 06:03 Nithishvb

Absolutely! And let me know if I can help

sestinj avatar Mar 23 '24 15:03 sestinj

Sure 👍

Nithishvb avatar Mar 23 '24 16:03 Nithishvb