github / github/copilot-cli

Can't get copilot to show a diff in the IDE

Open
#1,907 0 comments 0 reactions 0 assignees View on GitHub
area:plugins area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

I tried several things like:

> Improve the javadoc of the selected file and present the results in a diff using the IDE connection for approval - do not use commandline tools!

but it seems copilot does not really can act on this and starts elaborating about `/diff` command or writing python scripts to "present a diff to the user" resulting in something like

> Applied expanded method-level Javadoc to the selected file; below is the IDE-style unified diff of the change for review.

So copilot can get the selected file via the IDE integration but fails to use the diff tool (what would allow to review and either accept/reject it then)

### Affected version

v1.0.2

### Steps to reproduce the behavior

See description

### Expected behavior

I get a diff view open in the IDE.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.