0.14.1
版本发布时间: 2023-05-02 21:42:34
intitni/CopilotForXcode最新发布版本:0.34.2(2024-10-06 23:12:20)
What's New in 0.14.1
- Fix that the helper app may crash if an inactive workspace is removed.
- Adjust workspace life cycle.
- Update that inactive files will not be automatically removed if there is an open tab with the same file name in Xcode.
- Add keyboard shortcuts to control the windows:
- command+w to close the chat and cancel the prompt to code.
- command+m to minimize chat. You can bring the chat back by calling any chat-related commands or clicking the circular widget.
- shift+enter to add a new line.
Pull Requests
- Feature/better filespace lifecycle by @intitni in https://github.com/intitni/CopilotForXcode/pull/188
- Fix crash when remove expired workspace by @intitni in https://github.com/intitni/CopilotForXcode/pull/191
- Window related shortcuts by @intitni in https://github.com/intitni/CopilotForXcode/pull/192
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.14.0...0.14.1
What's New in 0.14.0
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.
1、 Copilot.for.Xcode.app.zip 19.25MB