intitni / intitni/CopilotForXcode

Accept button on floating window doesn't work

オープン
#70 コメント 15 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
Swift
スター
8.2k
フォーク
427
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm experiencing a weird problem that on the suggestion floating window, the `Accept` button doesn't work. When I click on it, nothing happens. The suggestion isn't applied to the code, and the floating window doesn't disappear either.

![スクリーンショット 2023-03-24 2 31 44](https://user-images.githubusercontent.com/3942121/227289554-931a247c-f7b1-482c-8a0f-d1407efbe7bd.png)

The reject button works as expected that no code changes and the floating window disappears.

I can accept it from Menu bar though

![スクリーンショット 2023-03-24 2 32 40](https://user-images.githubusercontent.com/3942121/227289831-93bd3f76-c051-46eb-8256-061400e68ab6.png)

But since it's too inconvenient so I've set a key binding to accept it as a workaround.

Is there anybody having the same problem?

My environment:
- Chip: M1 Max
- macOS: 13.2.1(22D68)
- Xcode: 14.2 (14C18)
- Copilot for Xcode: 0.8.6 (49)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the failure in the suggestion floating window using the reported macOS, Xcode, and Copilot for Xcode versions, then compare the floating-window Accept action with the working menu-bar action. Done means Accept applies the suggestion and dismisses the floating window, while Reject continues to behave as reported.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, swift
領域
desktop-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。