Chat - Apply in Editor feedback
Steps to Reproduce:
- Used the
/planprompt to have Copilot create a plan for the changes - The respose included some code changes:
- "Apply in Editor" should be rendered as a primary action
- Clicking "Apply in Editor" asks me for a file even though based on the response it should now which file to udpate
For insertions and deletions I think that the code block in the chat panel should have diff decoration (red/green). In the case of the screenshot above it would have been super helpful if the two added lines would have been highlighted.
//cc @bpasero, @isidorn
@lszomoru interesting, so the plan prompt disables the edit tool, as such AI falls back to showing suggested edits like this. But the idea is not to apply them from this stage, rather to reason about it.
Nevertheless, your feedback for edits applies to edit mode as well.
asks me for a file even though based on the response it should now which file to udpate
implies that it didn't output a codeblock with a proper filepath comment
Isn't the problem that you were asking it to write a plan, not implement it? I don't think we should spend a lot of time optimizing this button-clicking flow vs a normal agent flow
"Apply in Editor" should be rendered as a primary action
What does that mean?
An action with the accent color, in case we are doing that when rendering code blocks.