continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
15.81k stars 1.2k forks source link

slash commands and context syntax in ctrl+i highlighted code editing #1782

Open bachittle opened 1 month ago

bachittle commented 1 month ago

Validations

Problem

Currently, the refactor section (when pressing ctrl+i) does not allow for adding context using \@ syntax, or slash commands, like what can be done in the chat window (when pressing ctrl+l).

Solution

Use the same parser from the chat window in the refactor window.

bachittle commented 1 month ago

I think the \@ syntax was added recently. So slash commands are all that is left.