continue
continue copied to clipboard
[CON-224] /edit doesn't acknowledge highlighted code after retrying
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
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
- Highlight code
- Type something like "/edit add comments"
- Let it run, then close the diff window
- Try to edit the original message and press enter again
Log output
No response
Hey @sestinj i would like to work on this bug, could you please assign this to me.
Absolutely! And let me know if I can help
Sure 👍