Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Xcode extension for GitHub Copilot

License

NotificationsYou must be signed in to change notification settings

github/CopilotForXcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Copilot for Xcode

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.

Chat [Preview]

GitHub Copilot Chat provides suggestions to your specific coding tasks via chat.Chat of GitHub Copilot for Xcode

Code Completion

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.Code Completion of GitHub Copilot for Xcode

Preview Policy

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.

Requirements

Getting Started

  1. Install viaHomebrew:

    brew install --cask github-copilot-for-xcode

    Or download thedmg fromthe latest release.DragGitHub Copilot for Xcode into theApplications folder:

    Screenshot of opened dmg

    Updates can be downloaded and installed by the app.

  2. Open theGitHub Copilot for Xcode application (from theApplications folder). Accept the security warning.

    Screenshot of MacOS download permission request

  3. A background item will be added to enable Copilot to start whenGitHub Copilot for Xcode is opened.

    Screenshot of background item

  4. Two permissions are required:Accessibility andXcode Source Editor Extension. For more on why these permissions are required seeTROUBLESHOOTING.md.

    The first time the application is run theAccessibility permission should be requested:

    Screenshot of accessibility permission request

    TheXcode Source Editor Extension permission needs to be enabled manually. ClickExtension Permission from theGitHub Copilot for Xcode application settings to open theSystem Preferences to theExtensions panel. SelectXcode Source Editorand enableGitHub Copilot:

    Screenshot of extension permission

  5. After granting the extension permission, open Xcode. Verify that theGithub Copilot menu is available and enabled under the XcodeEditormenu.

    Screenshot of Xcode Editor GitHub Copilot menu item

    Keyboard shortcuts can be set for all menu items in theKey Bindingssection of Xcode preferences.

  6. To sign into GitHub Copilot, click theSign 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.

    Screenshot of sign-in popup

  7. To install updates, clickCheck for Updates from 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 fromdmg files 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.

  8. To avoid confusion, we recommend disablingPredictive code completion underXcode >Preferences >Text Editing >Editing.

  9. Presstab to accept the first line of a suggestion, holdoption to viewthe full suggestion, and pressoption +tab to accept the full suggestion.

    Screenshot of welcome screen

How to use Chat [Preview]

Open Copilot Chat in GitHub Copilot.

  • Open via the Xcode menuXcode -> Editor -> GitHub Copilot -> Open Chat.

Screenshot of Xcode Editor GitHub Copilot menu item

  • Open via GitHub Copilot app menuOpen Chat.

Screenshot of GitHub Copilot menu item

How to use Code Completion

Presstab to accept the first line of a suggestion, holdoption to viewthe full suggestion, and pressoption +tab to accept the full suggestion.

License

This project is licensed under the terms of the MIT open source license. Pleaserefer toLICENSE.txt for the full terms.

Privacy

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.

Support

We’d love to get your help in making GitHub Copilot better! If you havefeedback or encounter any problems, please reach out on ourFeedbackforum.

Acknowledgements

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.


[8]ページ先頭

©2009-2025 Movatter.jp