Releases: intitni/CopilotForXcode
0.15.2
What's New
- Fix that the menu bar icon was not visible in dark background.
- Fix that the sign in process of Codeium was not cancellable.
- Fix that sign out button for Codeium was not working.
What's New in 0.15.0
- Support Codeium as a provider for the Suggestion feature.
- New host app UI that is better structured.
- Closed files will be cleaned up more frequently, hope that it can make the suggestions more accurate.
- Improve the prompt of the Prompt to Code feature.
- Updated both Chat and Prompt to Code to use a dynamic height scrollable text editor with better performance.
- Support disabling languages from the Suggestion feature.
- Rename global chat and file chat to "Shared Conversation" and "Local Conversation" to avoid misunderstanding.
- Support opening chat from the menu bar item, it will open a shared-conversation detached chat even if Xcode is not launched.
- Support opening the host app from the menu bar item.
- Closing chat or prompt to code panel will reactivate Xcode if Xcode was the previously active application.
- Change the menu bar icon to a tentacle.
- Update Copilot.vim to 1.8.4.
- Remove an order front hack that keeps calling
NSWindow.orderFront
to make the widgets displayed when Xcode is in fullscreen mode. It will now callorderFront
only when Xcode enters fullscreen.
Pull Requests
- Add a SuggestionService target as a wrapper over GitHub Copilot by @intitni in #194
- Prevent duplicated
Workspace
by @intitni in #195 - Added "Open Copilot for Xcode" by @SNQ-2001 in #198
- Integrating Codeium by @intitni in #199
- New host app UI by @intitni in #200
- Codeium settings by @intitni in #204
- Improve prompt of prompt to code by @intitni in #205
- Remove order front hack by @intitni in #206
- Shorter filespace life cycle by @intitni in #207
- Chat panel tweaks by @intitni in #209
- Disable suggestion for language by @intitni in #210
- Bump copilot vim 1.8.4 by @intitni in #212
- Bump Codeium version 1.2.17 by @intitni in #213
Full Changelog: 0.14.1...0.15.0
0.15.1
What's New
- Support Codeium as a provider for the Suggestion feature.
- New host app UI that is better structured.
- Closed files will be cleaned up more frequently, hope that it can make the suggestions more accurate.
- Improve the prompt of the Prompt to Code feature.
- Updated both Chat and Prompt to Code to use a dynamic height scrollable text editor with better performance.
- Support disabling languages from the Suggestion feature.
- Rename global chat and file chat to "Shared Conversation" and "Local Conversation" to avoid misunderstanding.
- Support opening chat from the menu bar item, it will open a shared-conversation detached chat even if Xcode is not launched.
- Support opening the host app from the menu bar item.
- Closing chat or prompt to code panel will reactivate Xcode if Xcode was the previously active application.
- Change the menu bar icon to a tentacle.
- Update Copilot.vim to 1.8.4.
- Remove an order front hack that keeps calling
NSWindow.orderFront
to make the widgets displayed when Xcode is in fullscreen mode. It will now callorderFront
only when Xcode enters fullscreen.
Pull Requests
- Add a SuggestionService target as a wrapper over GitHub Copilot by @intitni in #194
- Prevent duplicated
Workspace
by @intitni in #195 - Added "Open Copilot for Xcode" by @SNQ-2001 in #198
- Integrating Codeium by @intitni in #199
- New host app UI by @intitni in #200
- Codeium settings by @intitni in #204
- Improve prompt of prompt to code by @intitni in #205
- Remove order front hack by @intitni in #206
- Shorter filespace life cycle by @intitni in #207
- Chat panel tweaks by @intitni in #209
- Disable suggestion for language by @intitni in #210
- Bump copilot vim 1.8.4 by @intitni in #212
- Bump Codeium version 1.2.17 by @intitni in #213
Full Changelog: 0.14.1...0.15.0
0.14.1
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 #188
- Fix crash when remove expired workspace by @intitni in #191
- Window related shortcuts by @intitni in #192
Full Changelog: 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.
0.14.0
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
- Trigger command with accessibility API by @intitni in #181
- Setting font size by @intitni in #183
- Detached chat panel by @intitni in #184
- Opened-file-aware suggestion by @intitni in #187
Full Changelog: 0.13.4...0.14.0
0.14.0 beta 5
Please go to #174 for the discussion on this feature.
What's New in Beta 5
Now GitHub Copilot can generate suggestions based on the open files. (If the files are already opened when you launch Xcode, you need to switch to those files to let GitHub Copilot know.)
What's New in Beta 4
- Setting font size.
- The widget now attaches to every single window of Xcode. (except quick open)
- Chat panel will always be below the other widgets.
- Dragging chat without making the chat active.
- Resizing will no longer detach the chat panel.
- Widgets will now disappear if all windows of Xcode are minimized.
What's New in Beta 3
- Support triggering commands via Accessibility API. If the accept button in the widget was not working for you, please give it a try. It's also much faster than the Apple Script implementation.
What's New in Beta 2
- Fix that the app will freeze at launch.
- Add timeout to accept suggestion command.
- Make chat with selection and prompt to code command return immediately.
- Remove the boost QoS hack which does nothing.
What's New in 0.14.0
Add detachable chat.
Now you can drag the chat away from the widget to detach the chat from it. The detached window can be moved around and resized. And it will always be on the top.
To attach it back to the widget, you can click the chat bubble button next to the circular widget.
Detach and attach can also be done in the contextual menu of the circular widget.
0.14.0 beta 4
Please go to #174 for the discussion on this feature.
What's New in Beta 4
- Setting font size.
- The widget now attaches to every single window of Xcode. (except quick open)
- Chat panel will always be below the other widgets.
- Dragging chat without making the chat active.
- Resizing will no longer detach the chat panel.
- Widgets will now disappear if all windows of Xcode are minimized.
What's New in Beta 3
- Support triggering commands via Accessibility API. If the accept button in the widget was not working for you, please give it a try. It's also much faster than the Apple Script implementation.
What's New in Beta 2
- Fix that the app will freeze at launch.
- Add timeout to accept suggestion command.
- Make chat with selection and prompt to code command return immediately.
- Remove the boost QoS hack which does nothing.
What's New in 0.14.0
Add detachable chat.
Now you can drag the chat away from the widget to detach the chat from it. The detached window can be moved around and resized. And it will always be on the top.
To attach it back to the widget, you can click the chat bubble button next to the circular widget.
Detach and attach can also be done in the contextual menu of the circular widget.
0.14.0 beta 3
What's New in beta 3
- Support triggering command via Accessibility API. If the accept button in the widget was not working for you, please give it a try. It's also much faster than the Apple Script implementation.
What's New in beta 2
- Fix that the app will freeze at launch.
- Add timeout to accept suggestion command.
- Make chat with selection and prompt to code command return immediately.
- Remove the boost QoS hack which does nothing.
What's New in 0.14.0
Add detachable chat.
Now you can drag the chat away from the widget to detach the chat from it. The detached window can be moved around and resized. And it will always be on the top.
To attach it back to the widget, you can click the chat bubble button next to the circular widget.
Detach and attach can also be done in the contextual menu of the circular widget.
Please go to #174 for discussion on this feature.
0.14.0 beta 2
If you are updating from 0.13.3 and 0.14.0 and still facing the freeze, please change the value of Run node with
picker manually and restart the app.
What's New
- Fix that the app will freeze at launch.
- Add timeout to accept suggestion command.
- Make chat with selection and prompt to code command return immediately.
- Remove the boost QoS hack which does nothing.
What's New in 0.14.0
Add detachable chat.
Now you can drag the chat away from the widget to detach the chat from it. The detached window can be moved around and resized. And it will always be on the top.
To attach it back to the widget, you can click the chat bubble button next to the circular widget.
Detach and attach can also be done in the contextual menu of the circular widget.
Please go to #174 for discussion on this feature.
0.13.4
If you are updating from 0.13.3 and still facing the freeze, please change the value of Run node with
picker manually and restart the app.
What's New
- Fix that the app will freeze at launch.
- Add timeout to accept suggestion command.
- Make chat with selection and prompt to code command return immediately.
- Remove the boost QoS hack which does nothing.
0.14.0 beta 3
https://github.com/intitni/CopilotForXcode/releases/tag/0.14.0.beta.3
What's New Previously
- Add ids to custom command so changing the name of them won't create new custom commands in Key Binding settings.
- Make "Run node with interactive logged-in bash" a picker below path to node text field.
- Fix that changing ChatGPT model will reset server.
- Fix that resending a command with plugins won't trigger plugin.
- Fix that switching between files in Xcode won't update the position of widget immediately.
- Some other tweaks
0.14.0 beta 1
(If you some how find that the buttons in the host app are not clickable, please give it some time. I honestly don't know what is wrong and will just blame SwiftUI.)
Add detachable chat.
Now you can drag the chat away from the widget to detach the chat from it. The detached window can be moved around and resized. And it will always be on the top.
To attach it back to the widget, you can click the chat bubble button next to the circular widget.
Detach and attach can also be done in the contextual menu of the circular widget.
Please go to #174 for discussion on this feature.