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
13.99k stars 1k forks source link

A bug and advices on menu `Ask Continue` #1623

Open dbsxdbsx opened 1 month ago

dbsxdbsx commented 1 month ago

Versions

Validations

Problem

When taking the quick fix menu "Ask Continue" on an issued line, it does open a side chat view, but usually with the older chat context, if there was an older chat before: image

Solution

  1. bug fix: Whatever there is an old chat, the "Ask Continue" should always contain only the issue-related context and output solution automatically without the user input enter again;
  2. optional improvement advice(basic): I would prefer the action of "Ask Continue" would directly fix the issued line of code, just like that of Microsoft copilot;
  3. optional improvement advice(more radical): sometimes, there are many issued parts on the page of code(even multiple issued parts in a line!), then what if we make a new menu called fix ALL by Continue, so that Continue can try to fix all the issues with more complete context with the full page code and outputs a more global-context consistent solution, be it output in the side chat view with an explanation or directly overwrite the page file code.
sestinj commented 1 month ago

I definitely agree with (1), and (2) is something we used to have, but maybe worth trying again.

(3) sounds like a really cool experimental feature. Will try this, maybe even at the project level at some point!

dbsxdbsx commented 1 month ago

at the project level at some point!

This reminds me of the time when I coded with C# with ReSharper in Visual Studio---this extension does have a feature to diagnose the whole project.