github / github/copilot-cli

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

未關閉
#1,907 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:plugins area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。