github intitni/CopilotForXcode 0.14.0

latest releases: 0.35.9, 0.35.8, 0.35.7...
2 years ago

What's New

Opened-file-aware suggestions from GitHub Copilot

GitHub Copilot will now generate suggestions based on all currently opened files.

If we were able to utilize an LSP the way it should, this feature would have been available from the start. The key is to send LSP notifications such as “open file” or “change file”. While we may not be able to get these notifications directly from Xcode, fortunately, they can be simulated with relative ease.

  • open file: Each time you switch to a file that has not yet been registered with the application.
  • change file: Each time the content is modified in the focused editor.
  • save file: Each time the application identifies that a registered file has been relinked.
  • close file: Periodically, any inactive files will automatically expire and become unregistered.

If a file has already been opened prior to the launch of the helper app, you will need to switch to those files (and click on the code) in order to send the notification that the file is open.

Detachable Chat

Now the chat is detachable from the widget. Simply drag the chat wherever you need it. To re-attach, just click on the message bubble button located next to the circular widget.

Real Global Chat

Now the chat is available all across Xcode. You can even use it in the commit panel, where you can use /run to get the git diff then ask ChatGPT to generate a commit message for you (if the diff is not too long).

Other Updates

  • The accept button in the widget will now trigger commands via Accessibility API, which is more stable and faster.
  • Change text size in suggestion and chat.
  • Suggestions and chat will no longer fight with each other. Suggestions will always be above the chat.
  • Some tweaks and bug fixes that I don't remember.

Pull Requests

Full Changelog: 0.13.4...0.14.0

Don't miss a new CopilotForXcode release

NewReleases is sending notifications on new releases.