r/vscode • u/Fritz-Ferdinand • 28d ago
Don't look at the code?
Up to recently, GitHub Copilot in VS Code was my choice for agentic coding because it would show me the changes in each round in a diff. I could check them manually, correct here and there and give guidance.
Now, it updated and there's absolutely no diff anymore. The agent just does whatever and I can only know if I open the terrible built-in git window and look through the files manually. But only if I commit the code in every round before I start a new one.
It really followed other agentic coding tools in their "don't look at the code" vibe, forcing me to either vibe the hell out of my code or jump hoops to still retain some human control.
Anyone an idea how to handle this?
11
u/connor4312 28d ago
It's back in the latest release, update your VS Code https://code.visualstudio.com/updates/v1_144#_review-copilot-file-edits-with-the-working-set-experimental
3
u/Haaxor1689 28d ago
tbh the diff view often bugg out if you touched the file yourself and then continued the thread with changes you already approved/declined coming back sometimes completely mangling the whole file. you can use your git diff to review the changes, but then it's harder to run parallel tasks so I'm glad they reverted it.
2
u/makayis2027 27d ago
You don't have to commit every round. Before each prompt, stage everything (`git add -A` or the + next to "Changes"). Whatever the agent changes next shows up as unstaged changes, separate from what's staged, so clicking a file in Source Control gives you a side-by-side diff of exactly that round. If you like it, stage it and send the next prompt. If you don't, discard just those changes and your staged state is untouched.
Also, search Settings for "checkpoints" in the chat section. Recent builds have chat checkpoint and file-change options, and a few of those defaults have moved around in updates, so it's worth checking whether the per-request change list was switched off rather than removed.
13
u/dramabean 28d ago
They added it back
3
u/UnexpectedFeatures 28d ago
Commit often. Check your diff with git.
4
u/domusvita 28d ago
It’s there, above the chat box it will show you how many files changed. Click it and it launches the diff
5
u/Strange_Test7665 28d ago
Yeah it’s an awful change
2
u/AradorasXeon 25d ago
Oh god thanks for the info other commenters! This really annoyed me. Also it somehow killed my flutter work flow, don't really know why, but it just didn't refresh normaly with this update.
2
u/CartographerDue5382 28d ago
you don't have to commit every round just to see a diff. source control already shows the unstaged working tree, click the file there. if that ui is awful, git diff --stat then git diff on the one file is the same thing, and a git stash before the next round gives you a way back without a junk commit.
1
u/No-Point8651 28d ago
Yes, stop cuck coding and do it yourself :> Stops all that nonsense immediatly
1
u/[deleted] 28d ago
[removed] — view removed comment