- Notifications
You must be signed in to change notification settings - Fork0
Xcode extension for GitHub Copilot
License
chutu77/CopilotForXcodehttps-github.com-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 Xcode extension that provides inline coding suggestions as you type and a chat assistant to answer your coding questions.
GitHub Copilot Chat provides suggestions to your specific coding tasks via chat.
You can receive auto-complete type suggestions from GitHub Copilot either by starting to write the code you want to use, or by writing a natural language comment describing what you want the code to do.
Use of the GitHub Copilot Xcode Extension is subject toGitHub's Pre-Release Terms. We want to remind you that:
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 Previews better.
- macOS 12+
- Xcode 8+
- A GitHub Copilot subscription. To learn more, visithttps://github.com/features/copilot.
Install viaHomebrew:
brew install --cask github-copilot-for-xcode
Or download the
dmgfromthe latest release.DragGitHub Copilot for Xcodeinto theApplicationsfolder:Updates can be downloaded and installed by the app.
Open the
GitHub Copilot for Xcodeapplication (from theApplicationsfolder). Accept the security warning.A background item will be added to enable Copilot to start when
GitHub Copilot for Xcodeis opened.Two permissions are required:
AccessibilityandXcode Source Editor Extension. For more on why these permissions are required seeTROUBLESHOOTING.md.The first time the application is run the
Accessibilitypermission should be requested:The
Xcode Source Editor Extensionpermission needs to be enabled manually. ClickExtension Permissionfrom theGitHub Copilot for Xcodeapplication settings to open theSystem Preferences to theExtensionspanel. SelectXcode Source Editorand enableGitHub Copilot:After granting the extension permission, open Xcode. Verify that the
Github Copilotmenu is available and enabled under the XcodeEditormenu.Keyboard shortcuts can be set for all menu items in the
Key Bindingssection of Xcode preferences.To sign into GitHub Copilot, click the
Sign inbutton 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 Updatesfrom the menu item or in thesettings application.After installing a new version, Xcode must be restarted to use the newversion correctly.
New versions can also be installed from
dmgfiles downloaded from thereleases page. When installing a new version viadmg, the application mustbe run manually the first time to accept the downloaded from the internetwarning.To avoid confusion, we recommend disabling
Predictive code completionunderXcode>Preferences>Text Editing>Editing.Press
tabto accept the first line of a suggestion, holdoptionto viewthe full suggestion, and pressoption+tabto accept the full suggestion.
Open Copilot Chat in GitHub Copilot.
- Open via the Xcode menu
Xcode -> Editor -> GitHub Copilot -> Open Chat.
- Open via GitHub Copilot app menu
Open Chat.
Presstab 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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Swift88.7%
- Rich Text Format11.0%
- Other0.3%









