The missing GitHub Copilot, Codeium and ChatGPT Xcode Source Editor Extension
OTHER License
Bot releases are visible (Hide)
Published by intitni over 1 year ago
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.14.0...0.14.1
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.
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.
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.
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).
Published by intitni over 1 year ago
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.
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.
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.
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).
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.13.4...0.14.0
Published by intitni over 1 year ago
Please go to https://github.com/intitni/CopilotForXcode/discussions/174 for the discussion on this feature.
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.)
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.
Published by intitni over 1 year ago
Please go to https://github.com/intitni/CopilotForXcode/discussions/174 for the discussion on this feature.
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.
Published by intitni over 1 year ago
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 https://github.com/intitni/CopilotForXcode/discussions/174 for discussion on this feature.
Published by intitni over 1 year ago
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.
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 https://github.com/intitni/CopilotForXcode/discussions/174 for discussion on this feature.
Published by intitni over 1 year ago
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.
https://github.com/intitni/CopilotForXcode/releases/tag/0.14.0.beta.3
Published by intitni over 1 year ago
(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.)
(The bug is found!, please wait for next release!)
https://github.com/intitni/CopilotForXcode/releases/tag/0.14.0.beta.1
Published by intitni over 1 year ago
(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.
Published by intitni over 1 year ago
The development of this project will slow down until we know what Apple will do to Xcode during WWDC.
Please click into the issue to learn how to remove the duplicated command from Keybindings settings page.
TextEditor
with monospaced font.max_token
for you, and the "Max Token" settings in the host app now represents the token count of messages sent + the token count of reply. That means you can set the value to maximum now.Published by intitni over 1 year ago
The development of this project will slow down until we know what Apple will do to Xcode during WWDC.
TextEditor
with monospaced font.max_token
for you, and the "Max Token" settings in the host app now represents the token count of messages sent + the token count of reply. That means you can set the value to maximum now.Published by intitni over 1 year ago
The development of this project will slow down until we know what Apple will do to Xcode during WWDC.
max_token
for you, and the "Max Token" settings in the host app now represents the token count of messages sent + the token count of reply. That means you can set the value to maximum now.Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.12.0...0.13.0
Published by intitni over 1 year ago
New command "Prompt to Code" to write or refactor code with natural language. The feature is powered by ChatGPT by default, but you can switch to a GitHub Copilot implementation which doesn't work that well.
Prompt to Code is like a special suggestion that has a higher priority, so you won't see other suggestions when the panel is displayed. You can accept or reject the prompt to code using the commands for suggestions when Xcode is active.
You can now globally disable suggestions and prompt to code features, and enable them for selected projects.
The widget is now preferred to stay inside the editor when the editor is wide enough. You can adjust the min-width in the host app.
You can now copy a reply from the chat panel with the new copy button. Or copy any message by right-clicking the bubble.
/run
now uses an interactive logged-in shell so it should now have the same environment as when you open a terminal.
Node will now be loaded with interactive logged-in bash. If this is breaking the app for you, you can turn it off in the host app.
Help wanted: #122. Looks like it happens only on SwiftUI ScrollView
.
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.11.2...0.12.0
Published by intitni over 1 year ago
Tweak editor info prefetch and real-time suggestions.
Fix a bug that a suggestions can't be accepted or discarded sometimes, because multiple filespaces for a same file was created.
Accepting suggestions via Accessibility API will now recover scroll position.
Published by intitni over 1 year ago
/airun
. You can use this plugin to generate and run a terminal command using natural language. Don't expect it to always work, and it may require a slightly higher number of tokens.
/exit
to help you exit a chat plugin.run
plugin will now inherit all environment variables from your login shell, allowing you to utilize any software installed through brew or other means.NSScreen.main
is.Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.11.0...0.11.1
Published by intitni over 1 year ago
/airun
. You can use this plugin to generate and run a terminal command using natural language. Don't expect it to always work, and it may require a slightly higher number of tokens.
/exit
to help you exit a chat plugin.run
plugin will now inherit all environment variables from your login shell, allowing you to utilize any software installed through brew or other means.NSScreen.main
is.WWDC is coming.
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.10.0...0.11.0
Published by intitni over 1 year ago
/run
command followed by your command, such as /run echo hello
. Note that environment variables are currently inherited from the app, so any items installed with brew may not be discoverable.This release includes bug fixes that may have resolved issues #95 and #92, but as I cannot reproduce them on their own machine, I cannot confirm that they are fixed. Additionally, for Monterey users, the chat panel has been tweaked to support multiline input and correctly display the wipe history button.
Help wanted: #122 The helper app stutters when launched by launch agent
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.9.1...0.10.0
Published by intitni over 1 year ago
New commands:
To use these 2 commands, you will need to provide a valid OpenAI API key. Check the new account settings for details. The chat is currently limited to 5 conversations. Exceeding token limit is not handled.
Other updates:
I've spent too much time on this this month and it's making me very tired. I think I need to take a break, so please note that I may not be instantly responding to issues or pull requests for a while. Good night.
Published by intitni over 1 year ago
Full Changelog: https://github.com/intitni/CopilotForXcode/compare/0.8.5...0.8.6
Let's just pretend that there is no more bug in 0.8.x.
Published by intitni over 1 year ago
Update 1: Fix syntax highlighting for Objective-C #48
LazyVGrid
to VStack
(Why?). Big thanks to @timwredwards and @cr2s367067 for helping me locate the bug. I wasn't able to reproduce the bug on 2 of my machines, so I'm not completely certain that it's fixed or that it won't resurface in the future.If the app still freezes, please reply to issue #43, and give 0.8.4 a try. Maybe I made some mistakes again, sigh.