CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

[Feature Request]: Add ability to toggle Real-time Suggestions

Open zenangst opened this issue 1 year ago • 3 comments

Before Reporting

  • [X] I have checked FAQ, and there is no solution to my issue
  • [X] I have searched the existing issues, and there is no existing issue for my issue

What happened?

Using the Real-time Suggestions menu item doesn't actually toggle real-time suggestions. The menu item is invoked but nothing happens, the toggle is still of in the CoPilot app and they are not toggled inside Xcode.

How to reproduce the bug.

Disable Real-time Suggestions in CoPilot app Invoke Real-time Suggestions using the menu item in Xcode

Relevant log output

No response

macOS version

14.4.1 (23E224)

Xcode version

Version 15.3 (15E204a)

Copilot for Xcode version

0.32.2

zenangst avatar Apr 26 '24 04:04 zenangst

This command is not meant to be called by users.

Commands called by the app:

Real-time Suggestions: Call only by Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions. Prefetch Suggestions: Call only by Copilot for Xcode. In the background, Copilot for Xcode will occasionally run this command to prefetch real-time suggestions.

intitni avatar Apr 26 '24 04:04 intitni

Oh, I thought it was a way to toggle if the auto suggestions should be on or off. If this is not the case, then I'd like to make a feature request for that functionality :)

zenangst avatar Apr 26 '24 11:04 zenangst

Which implementation do you think is better?

  • As a command from the Xcode menu, works only when the editor in Xcode is active
  • As a shortcut provided by Copilot for Xcode which is available when Xcode is active

intitni avatar May 01 '24 07:05 intitni

Released in beta 0.33.1

intitni avatar May 22 '24 21:05 intitni

Fantastic! 🤩

zenangst avatar May 22 '24 22:05 zenangst

Released in 0.33.1

intitni avatar May 27 '24 08:05 intitni