- Notifications
You must be signed in to change notification settings - Fork854
Xcode extension for GitHub Copilot
License
github/CopilotForXcode
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GitHub Copilot is an AI pair programmertool that helps you write code faster and smarter. Copilot for Xcode is an Xcodeextension that provides inline coding suggestions as you type.
Use of the GitHub Copilot Xcode Extension is subject toGitHub's Pre-Release Terms. We want to remind you that:
Beta Previews may not be supported or may change at any time. You may receive confidential information through those programs that must remain confidential while the program is private. We'd love your feedback to make our Beta Previews better.
- macOS 12+
- Xcode 8+
- A GitHub Copilot subscription. To learn more, visithttps://github.com/features/copilot.
Download the
dmg
fromthe latest release.Updates can be downloaded and installed by the app.Open the
dmg
and drag theGitHub Copilot for Xcode.app
into theApplications
folder.On the first opening the application it will warn that it was downloaded from the internet. Click
Open
to proceed.A background item will be added for the application to be able to start itself when Xcode starts.
Two permissions are required:
Accessibility
andXcode Source Editor Extension
.The first time the application is run the
Accessibility
permission should be requested:The
Xcode Source Editor Extension
permission needs to be enabled manually. ClickExtension Permission
from theCopilot for Xcode
settings to open theSystem Preferences to theExtensions
panel. SelectXcode Source Editor
and enableGitHub Copilot
:After granting the extension permission, please restart Xcode so the
Github Copilot
menu is available under the XcodeEditor
menu.Keyboard shortcuts can be set for all menu items in the
Key Bindings
section of Xcode preferences.To sign into GitHub Copilot, click the
Sign in
button in the settings application. This will open a browser window and copy a code to the clipboard. Paste the code into the GitHub login page and authorize the application.To install updates, click
Check for Updates
from the menu item or in the settings application. After installing a new version, Xcode must be restarted to use the new version correctly. New versions can also be installed fromdmg
files downloaded from the releases page. When installing a new version viadmg
, the application must be run manually the first time to accept the downloaded from the internet warning.To avoid confusion, we recommend disabling
Predictive code completion
underXcode
>Preferences
>Text Editing
>Editing
.Press
tab
to accept the first line of a suggestion, holdoption
to viewthe full suggestion, and pressoption
+tab
to accept the full suggestion.
This project is licensed under the terms of the MIT open source license. Pleaserefer toLICENSE.txt for the full terms.
We follow responsible practices in accordance with ourPrivacy Statement.
To get the latest security fixes, please use the latest version of the GitHubCopilot for Xcode.
We’d love to get your help in making GitHub Copilot better! If you havefeedback or encounter any problems, please reach out on ourFeedbackforum.
Thank you to @intitni for creating the original project that this is based on.
Attributions can be found under About when running the app or inCredits.rtf.
About
Xcode extension for GitHub Copilot
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.