intitni / intitni/CopilotForXcode

Accept button on floating window doesn't work

Ouverte
#70 15 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
help wanted
Langage dominant
Swift
Étoiles
8.2k
Forks
427
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, swift
Domaine
desktop-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.