Skip to content

Releases: intitni/CopilotForXcode

0.7.0

09 Feb 16:20
Compare
Choose a tag to compare

There are some breaking changes in this release. The very first change is that the XPC service is now an accessory app target located in a different location. So if you are upgrading to this version, please open the app once to let it set up the new launch agent for you. The permissions should now be granted to the accessory app, please see the readme for details.

I need to make these changes because the accessory app is taking on more responsibilities like presenting GUI elements. And the old CLI was placed in a wrong directory and caused a lot of problems.

Here are the other changes:

  • The real-time suggestion toggle is now universal, not workspace specific.
  • Added a menu bar item for the accessory app. The icon looks like a steering wheel.
  • The accessory app now launches on demand. You can set it to also quit automatically in the host app.
  • A breathing dot will appear next to the mouse pointer or text cursor when real-time suggestion is turned on. It will have a different animation when prefetch occurs.
  • Bump copilot.vim to 1.8.2

And some bugfixes:

  • Remove warnings from the language server protocol. It may have sped up the Copilot a little bit. But the real-time suggestion still feels very slow.
  • Fix that real-time suggestion not working when the Xcode autocomplete panel is displayed. (Oh, I mean it's now a feature, not a bug any more.)
  • Fix that running command triggers real-time suggestion.

I would like to implement the feature to present suggestions in windows in the next release (no ETA). But I am not sure where to place the window. Snap it to the display corners? To the window corners? If you have an idea, please feel free to let me know.

0.6.0

25 Jan 16:07
Compare
Choose a tag to compare
  • Ignore empty suggestions and fix wrong suggestion comment positions. #17 fixes #15
  • Tapping escape will now cancel in-flight real-time suggestion fetches. #18
  • Starting with the next update, the XPC service will be able to restart itself on update. But for this update, please restart manually. #19

The app can now be installed via Homebrew:

brew install --cask copilot-for-xcode

0.5.0

12 Jan 15:36
Compare
Choose a tag to compare
  • Add a "Prefetch Suggestions" command that returns immediately to avoid the editor blocking issue, the debounce threshold is lowered, too. But when the suggestion is ready, and you are not typing, it will call "Real-time Suggestions" to present the suggestions, this command can still block the editor.
  • Real-time suggestions will be triggered only by key-up, similar to VSCode. Key-down, mouse-up, and mouse-down will cancel the in-flight prefetches.
  • The state of real-time suggestions is now persisted, so if you turn it on for a workspace/project, it will still be on after the XPC Service restarts.
  • There will be a warning in the app if the version number of the XPC Service and the app don't match.
  • Updated Copilot.vim to 1.8.0.

Don't forget to restart XPC Service in the app after updates.