Side by Side Diff Viewer for Copilot

When I enter a prompt in Copilot using Edit mode, the open file is then edited and I am able to review the changes en masse or piece by piece, and then accept or revert. I'm currently stuck trying to get these diffs to appear side by side as I'm used to seeing in vs code; where old code is on the left with removals and modified code highlighted, and then the specifics and resulting new code on the right. Seems the default is to stack these within the original file, losing a lot of the value of side by side diffs and the elegant way that DataGrip presents these kinds of comparisons. Where can I update this in a Setting?

NOTE: I do not intend to connect github version control to DataGrip. This is for adhoc query development outside of my repo, and I just want an easier way to review CoPilot's changes before accepting.

0
3 comments
Hi,

Judging by your description, your use case seems to be more related to the Copilot plugin and the way it works, not the integration within the DataGrip IDE. In this case, you need to address your question on the plugins page:   

https://support.github.com/
0

I don't believe so. Once it does its work and modifies the file, I see the diff changes inline (as opposed to side by side) within the code editor frame. The best workaround (and currently it definitely feels like a workaround) I've found is to show the local history for the file which allows for side by side view. Maybe one day… This is the only issue I've found with my workflow.

0
Then I guess we were not clear with your setup. You said you don't have VCS configured for your github repo in DataGrip. If that's the case, do you use our local database changes feature together with Copilot?

https://www.jetbrains.com/help/datagrip/database-changes-tool-window.html

If possible, please also provide a few screenshots to get a better picture of your use case 
0

Please sign in to leave a comment.