copilot

Subscribe to all “copilot” posts via RSS or follow GitHub Changelog on Twitter to stay updated on everything we ship.

~ cd github-changelog
~/github-changelog|main git log main
showing all changes successfully

Header introducing GPT-4o Copilot model

A new code completion model, GPT-4o Copilot, can now be enabled by VS Code users.

This new model based on GPT-4o mini has additional training on over 275,000 high-quality public repositories in over 30 popular programming languages. As a result, you can expect this model to provide more accurate suggestions and to have better performance.

Getting started with GPT-4o Copilot in VS Code

To get started, open the Copilot menu in the VS Code title bar, select Configure Code Completions... > Change Completions Model.... Alternatively, open the Command Palette and select GitHub Copilot: Change Completions Model....

GPT-4o Copilot access notes

If you are a Copilot Business or Enterprise user, you will first need your administrator to enable this model for your organization by opting in to Editor preview features in the Copilot policy settings on github.com.

If you are a Copilot Free user, using this model will count toward your 2,000 free monthly completions.

The model will also be available soon to Copilot users in all JetBrains IDEs.

Please share your feedback as you try out the new model. It will help us improve the experience for all Copilot users.

See more

Code completion in GitHub Copilot for Xcode is now generally available

GitHub Copilot for Xcode code completion [GA]

Code completion in GitHub Copilot for Xcode is now generally available. Developers using Xcode can now experience AI-powered, real-time code suggestions that enhance productivity and streamline the development process.

AI-Powered code suggestions for faster development

GitHub Copilot code completion integrates seamlessly into Xcode, offering context-aware suggestions as you type. Whether you’re writing function implementations, refactoring code, or handling repetitive tasks, Copilot intelligently predicts and completes your code, allowing you to focus on higher-level development.

Code Completion of GitHub Copilot for Xcode

Key benefits of GitHub Copilot in Xcode code completion

  • Real-time, context-aware code completion: Copilot provides intelligent, in-line code suggestions as you type, helping you write high-quality code faster. By understanding the context of your project, it predicts and generates relevant code snippets to accelerate your workflow.
  • Seamless integration with Xcode: Designed to work naturally within Xcode, Copilot enhances the existing coding experience without disrupting your development environment. There’s no need for additional setup—simply enable Copilot and start coding smarter.
  • Reduce repetitive coding tasks: Instead of manually writing boilerplate code, let Copilot generate common patterns, function definitions, and repetitive logic. This allows you to focus more on complex problem-solving and building innovative features.
  • Intelligent auto-completion for improved accuracy: Copilot not only speeds up coding. It also improves accuracy by reducing syntax errors and helping ensure best practices. The AI-powered suggestions help maintain clean and efficient code, minimizing debugging time.

Get started with GitHub Copilot in Xcode

To get started with GitHub Copilot in Xcode:

  1. Ensure you have a GitHub Copilot license.
  2. Enable Copilot in Xcode via your GitHub account.

  3. Start coding with AI-powered assistance today!

Experience the future of AI-assisted development

With GitHub Copilot, you can write code more efficiently, reduce errors, and enhance your overall development workflow. Try it out today and take your Xcode development to the next level!

For more details, visit our GitHub Copilot documentation and start leveraging AI-driven coding assistance in Xcode.

Feedback

To provide feedback or report issues, please open an issue on GitHub at https://github.com/github/CopilotForXcode/issues. Check existing issues and add a comment or ask questions if you find an issue similar to what you’re experiencing.

Join the community

Connect with other developers, share tips, and discuss other updates to Copilot in our dedicated Copilot community discussions.

See more

Personal custom instructions are now available in public preview for Copilot on github.com 🎉

Copilot Chat on github.com now supports personal instructions! This means you can provide Copilot with important details about your preferences, such as your preferred language, response style, or even code standards.

To get started, open up Copilot Chat, click ..., and select Personal instructions. That’s it! Copilot will now incorporate your preferences for all chats in github.com.

💡 Looking for ideas? Here are some examples to kick things off:

  • Language preferences: “Always respond in Portuguese.”
  • Response preferences: “Be concise and to-the-point. Always cite your sources.”
  • Personal preferences: “You are a seasoned React developer with ten years of experience.”
  • Code preferences: “Always provide examples in TypeScript.”

Looking for more? Visit prompts.chat for more inspiration.

Search the web 🔍 in Copilot chat using Bing

Copilot Chat can now search Bing to answer questions and find information beyond its general knowledge or your codebase. This feature makes it easy to chat about recent events, trends, and new developments. It’s now generally available in VS Code, Visual Studio, and github.com.

Since our public preview, we’ve enhanced our web search capabilities to deliver more relevant and accurate responses to your questions.

Give it a try today:

  • “What’s the latest version of React?”
  • “What are the most recent updates in Python’s machine learning libraries?”

Quality improvements to Copilot Chat

In the last month, we have delivered a collection of quick wins and subtle enhancements ✨, making the product smoother and more delightful for everyone.

What’s new:

  • Better search in Copilot Chat for more relevant and complete answers, including expanded lexical search results and larger semantic search responses for better context
  • Improved memory in Copilot, now keeping more of your chat history for better context and flow
  • Improved Copilot Chat’s awareness of the README.md when asking about a repository
  • Enhanced Copilot’s awareness of time, showing times relative to you instead of UTC

We also recently added the ability to view and generate new code files to Copilot chat at github.com/copilot – check it out!

See more

Copilot Workspace Changelog Header

This week’s Copilot Workspace updates center around improving multi-file code generation and search capabilities. Alongside continued improvements to performance and reliability, we are releasing two features: follow ups and a simplified file search experience.

Let’s dive in!

Follow ups

When you’re working within a large repository that has complex file dependencies, even simple changes can have significant impacts across the codebase. Invoking Copilot Workspace’s new follow up capability triggers a thorough check across the codebase, automatically editing the necessary files if any follow ups are detected.

Whether you have changed a function name, modified function parameters, or modified a shared class definition, Copilot’s follow ups can swiftly handle dependent fixes across your repository, saving you time and increasing confidence in your changes before you raise a PR!

File search experience improvements

We’ve updated the file search experience to help you maintain context in your file tree while searching for other files to open. Rather than filtering the file tree on search, we now return results in a separate menu that searches the entire repository rather than what is currently visible in the tree. You can open files in new tabs directly from this search.

Providing feedback

Please give your feedback in our GitHub Discussion. We’d love to hear your thoughts!

See more

GitHub Copilot Chat for Xcode is now in public preview! You can enable GitHub Copilot in Xcode with any GitHub account and experience both code completions and in-editor chat assistance today.

What’s new

  • Chat view: Ask Copilot for help with coding tasks directly in the chat view.
  • Slash commands: Use quick commands, like /explain for code explanations.
  • Reference code: Scope chats to specific files for more relevant assistance.
  • Multiple conversations: Maintain different threads, each with their own context.
  • Chat history management: Keep track of past conversations for future reference.
  • Free access: Get 2,000 code completions and 50 chat messages per month for free, simply by signing in with your GitHub account or by creating a new one.

Try it out

Share your feedback

Your feedback drives improvements. Let us know what you think using the in-product feedback option, or share your thoughts with the GitHub Community.
Join us on this journey as we continue to enhance GitHub Copilot for Xcode and deliver a smoother developer workflow!

See more

We’re excited to announce that code completions with GitHub Copilot in Eclipse are now in public preview! You can enable GitHub Copilot in Eclipse with any GitHub account and start experiencing AI-powered code completion today.

What’s new

  • Code completions: Copilot is now seamlessly integrated into Eclipse, offering real-time, context-aware code suggestions as you type.
  • Multi-language support: GitHub Copilot for Eclipse supports a wide range of programming languages, including Java, Python, C++, and more. This enables developers across different tech stacks to leverage Copilot’s AI-powered assistance.
  • Content filtering: Copilot incorporates advanced filtering mechanisms to screen out harmful or inappropriate content, helping ensure professional and responsible code recommendations.
  • Free Tier: You will have 2,000 code completions and 50 chat messages per month, simply by signing in with your personal GitHub account or by creating a new one.

Try it out

Share your feedback

Your feedback drives our improvement! Let us know what you think using the in-product feedback option or share your thoughts with the GitHub Community.
Join us on this journey as we continue to enhance GitHub Copilot for Eclipse and deliver a smoother developer workflow!

See more

GitHub Copilot in Visual Studio 17.13: New features to supercharge your development workflow

Welcome to another exciting GitHub Copilot update for Visual Studio! This release introduces several powerful new features to enhance your workflow, improve transparency, and make coding with Copilot even more intuitive.

GitHub Copilot Free now available in Visual Studio

GitHub Copilot is now more accessible than ever with our new free plan for Visual Studio. With your GitHub account, you’ll get:

  • 2,000 code completions per month – Speed up development with AI-powered suggestions.
  • 50 chat messages per month – Get instant coding help, explanations, and debugging support.
  • Access to the latest AI models (Claude 3.5 Sonnet & GPT-4o) – Write, refactor, and improve your code with cutting-edge AI.

For developers who are just getting started with AI coding tools or those who only need occasional assistance, the free plan provides an easy way to experience the benefits of GitHub Copilot.

Ready to give it a try? Sign up for GitHub Copilot Free and start coding smarter today!

Start using GitHub Copilot for free in Visual Studio


Copilot Edits: Multi-file editing

Refactor and edit multiple files faster with Copilot Edits:

  • Preview with clarity – See which files are affected before making changes.
  • Review with flow – Accept (TAB) or reject (Alt+Del) changes inline with code diffs.
  • Iterate with confidence – Use checkpoints to revisit past iterations.

Copilot Edits helps you make large-scale changes more efficiently, helping to ensure accuracy and control over your codebase. Whether you’re refactoring, applying consistent patterns, or fixing issues across multiple files, GitHub Copilot Edits speeds up the process while keeping you in control.

To try it today, click the Edits thread button (a “+” symbol with a pencil icon) in the top-right corner of the GitHub Copilot Chat window to start a Copilot Edits session.

GitHub Copilot Edits


GitHub Copilot just got smarter: Automatically retrieve relevant context

GitHub Copilot can now pull in the information you need without requiring manual input, making it easier than ever to get accurate, context-aware suggestions. Copilot can search for information from:

  • Your current file, open files, and related files – Get relevant suggestions based on what you’re actively working on.
  • Your entire codebase – Surface insights from across your project without switching context.
  • Debugger data (locals, call stacks, etc.) – Use real-time debugging information to troubleshoot faster.
  • Visual Studio itself – Get answers about IDE settings, commands, and workflows.

Instead of manually copying code, searching through files, or retyping information, Copilot can now pull in the right context automatically—helping you write, debug, and refine code faster.

Need more control? Use #file, #method, or #solution in your prompts to specify exactly where Copilot should look.

Function calling


Code referencing for completions: More transparency, more control

Ever wondered where Copilot’s completions (gray text) come from? Now, with Code Referencing for Completions, you’ll get more visibility when Copilot suggests code that matches public GitHub repositories.

  • Toast notification – If you accept a completion that matches public code, you’ll see a toast notification in the bottom-right of your editor.
  • Copilot Output Window – View license details and links to the original repository in the Copilot Output Window (Ctrl+Alt+O).
  • Adjustable settings – Individual subscribers can block or allow suggestions that match public code in their GitHub settings.

By default, matches to public code are rare (less than 1% of completions), but this tool helps you code with more confidence and transparency.

Code referencing completions


Bug fixes & improvements

  • Added support for zooming in and out within Copilot windows for improved accessibility and readability.
  • Users can now easily retry their prompts for better responses.
  • Users can now pick which model GitHub Copilot is using for inline chat with the model picker, allowing for quick and easy model selection.

How to update

Make sure you’re using Visual Studio 2022 17.13 or later to access these features.

Download the latest version of Visual Studio 2022

We’d love to hear your feedback! Share your thoughts through the Developer Community or the Send Feedback button in Visual Studio.

Happy coding! 🚀

See more

GitHub Copilot Chat in GitHub Mobile and Copilot Extension for the GitHub CLI are now available for free

GitHub Copilot Chat in GitHub Mobile and Copilot Extension for the GitHub CLI are now available for free!

GitHub Copilot Chat on GitHub Mobile

Whether you’re tackling coding questions, brainstorming ideas, or working on the go, GitHub Copilot Chat is here to make collaboration faster and easier, no matter where you are.

On mobile, simply sign in with your personal GitHub account and tap the Copilot button to access 2,000 code completions and 50 chat messages per month! If you reach your quota, you can upgrade through an in-app purchase to enjoy unlimited access.

Download or update GitHub Mobile apps today from the Apple App Store or Google Play Store to experience the AI coding assistance right at your fingertips.

GitHub Copilot Extension on GitHub CLI

In the GitHub CLI, install the gh-copilot extension to access gh copilot explain and gh copilot suggest. If you reach your quota, you can upgrade on the web.

Download the GitHub CLI and the GitHub Copilot Extension directly from your terminal to experience AI assistance in explaining and suggesting gh, git, and other terminal commands without leaving your shell.

Learn more about GitHub Copilot Chat in GitHub Mobile, GitHub Copilot in the CLI, Copilot Free and share your feedback.

See more

Copilot Language Server SDK

We are excited to announce that the Copilot Language Server SDK is now publicly available. This enables any editor or IDE to integrate with GitHub Copilot via the language server protocol standard. Today, Copilot is available in popular editors such as VS Code, Visual Studio, JetBrains IDEs, Vim/Neovim, and most recently Xcode. A key ingredient of bringing Copilot to new editors has been the Copilot Language Server, which is used by all of those editors. At GitHub, we value developer choice and aim to empower developers to use Copilot with their favorite editor.

The Copilot Language Server SDK is available now: @github/copilot-language-server

This SDK can be used to integrate GitHub Copilot into any editor or IDE. See the documentation on the package to get started.

See more

OpenAI’s latest model, o3-mini, is now available in GitHub Copilot Free.

o3-mini model picker GIF

OpenAI’s latest model, o3-mini, is the most cost-efficient model in their reasoning series. o3-mini outperforms o1 on coding benchmarks with response times that are comparable to o1-mini, meaning you’ll get improved quality at nearly the same latency. The model is configured to use OpenAI’s medium reasoning effort and can be accessed in VS Code and Github.com Copilot chat today, with support to follow soon in Visual Studio and JetBrains.

Access to o3-mini is currently in preview and is subject to the 50 free chats per month limit when using Copilot Free.

Get started with Copilot Free on GitHub and in VSCode today or learn more in our documentation.

See more

In the latest Visual Studio Code release, you will find a range of GitHub Copilot features designed to make your coding and debugging experience in VS Code more productive and efficient. These features are now available for you to try out in the latest version of VS Code.

Vision (public preview)

You can now attach images and work with them directly in Copilot Chat. Share screenshots of errors and Copilot will interpret the image and resolve the issue. Or share mockups of new designs, and Vision will help you bring them to life.

Copilot Chat analyzing an image

Getting started

Vision is available today in the VS Code Insiders release. You can drag and drop images into Chat, paste them from a clipboard, or attach them through the VS Code UI. Vision requires that you use the GPT-4o model and upload one of the following file types: JPEG/JPG, PNG, GIF, and WEBP.

Agent mode (public preview)

As of today’s VS Code Insiders release, a new agent mode is available for GitHub Copilot Edits. You can opt in to this experience via the VS Code setting github.copilot.chat.agent.enabled.

In agent mode, Copilot can iterate on its own code. This includes automatically identifying and fixing errors, executing terminal commands to complete a requested task, and resolving runtime errors with self-healing capabilities. GitHub Copilot can now infer the other tasks that were not specified and also need to be completed in order for your explicit request to work.

Agent mode in Copilot Edits view

Agent mode will continue to improve over the coming weeks. Please share your feedback as you try it out (today in VS Code Insiders, and soon in Stable).

Next edit suggestions (public preview)

Next edit suggestions use recent edits that you’ve made to anticipate the next edit you might want to make, and where that edit is located.

With this new ability, GitHub Copilot will suggest revisions to your code, comments, tests, and more. Next edit suggestions help you edit code that you (or others) have previously written and need to edit to better meet your current goals.

Getting started

You can enable next edit suggestions via the VS Code setting github.copilot.nextEditSuggestions.enabled. If you are a Copilot Business or Enterprise user, you will also need your Administrator to enable next edit suggestions for your organization by opting in to Copilot “Editor Preview Features”.

Using next edit suggestions

When you’re presented with an edit suggestion, you can navigate to it with the Tab key and then accept it with the Tab key again, saving you time to find the next relevant edit (no manual searching through files or references required). An arrow in the gutter indicates whether an edit suggestion is available.

In the example below, next edit suggestions help with a challenging mistake in logic.

NES fixing a fibonacci logic mistake

For more scenarios where next edit suggestions will help, visit the Visual Studio Code docs.

Prompt files (public preview)

Prompt files allow you and your team to build, store, and share reusable prompts. They contain pre-defined instructions and context for GitHub Copilot Chat and Copilot Edits, which will help you save time, maintain consistency, and support the sharing of best practices across workflows for shared development tasks and domains.

They complement custom instructions through their flexibility for specific tasks and scalability for complex projects with multiple workflows.

Getting started

To enable prompt files, set the VS Code setting chat.promptFiles to true.

Copilot Edits (GA)

With Copilot Edits, you can smoothly make changes to one or more of your files directly from Copilot Chat. This feature, which has been in preview since the October VS Code release, is now generally available.

To learn more about Copilot Edits, visit the VS Code docs.

See more

Announced at GitHub Universe 2024, Gemini 2.0 Flash is now available to all GitHub Copilot customers, including Copilot Free. The latest Gemini model from Google shows high capabilities for code suggestions, documentation, and explaining code.

Get started today!

Copilot Free or Pro users

You can start using the new Gemini 2.0 Flash model today via the model selector in Copilot Chat in Visual Studio Code and immersive chat on GitHub.com.

Copilot Business or Enterprise users

Copilot Business and Enterprise organization administrators will need to grant access to Gemini 2.0 Flash in Copilot via a new policy in Copilot settings. Once enabled, you will see the model selector in VS Code and chat on GitHub.com. You can confirm availability by checking individual Copilot settings and confirming the policy for Gemini 2.0 Flash is set to enabled.

Share your feedback

Join the community discussion to share feedback and tips.

For additional information, check out the docs on Gemini 2.0 Flash in Copilot.

See more

A screenshot showing the new file blocks in the Copilot chat feed and the new side panel where code files are opened.

You can now view and iterate on generated files directly within Copilot chat on GitHub. File suggestions open in a side panel, making it faster than ever to preview and refine your generated code.

What’s new:

  • Quick file iteration: When Copilot chat suggests files, they open immediately for closer inspection.
  • Convenient previews: Markdown files render directly inside the side panel.
  • Support for more formats: We’re just getting started, expect additional file types and capabilities soon.

Try it out:

Your feedback drives our improvements! Let us know what you think using the in-product feedback option or share your thoughts in the GitHub Community.

Join us on this journey as we continue to enhance Copilot Chat and deliver a smoother developer workflow!

See more

Copilot Workspace header

We’re excited to share the latest improvements for Copilot Workspace, including enabling enterprise managed users, auto-validating changes in the workspace, and more. Let’s get started! 🚀

Auto-validation

We’ve shipped a new experiment enabling Copilot Workspace to automatically perform a build & test after implementation. If any failures are detected, it will attempt repairs.

To enable this experimental feature, go to Experiments > Start verify loop after implement.

Go to definition

We’ve enabled go to definition support in the editor to improve code navigation.

Photo showing Go-to-Definition

File-specific plan

While you’re implementing your plan with Copilot Workspace, you will now be able to view and edit the file-specific plan items. These are located right above the file, so you can seamlessly edit and iterate on your plan.

File tree reflects plan changes

While iterating on your plan, when you select or deselect a particular plan item, these changes will now be reflected in the file tree in real-time.

Support for enterprise managed users

GitHub Enterprise Cloud customers with Enterprise Managed Users can now use Copilot Workspace. Enterprise administrators have full control over enabling Workspace in their enterprise. To do so:

  1. Enable the Copilot Workspace policy through your enterprise account (note this means accepting the GitHub Next Terms and Conditions)
  2. Enable Preview features and Copilot Extensions at the enterprise or organization level. Please note that if any organization a user belongs to has either of these policies disabled, then they are considered disabled for that user throughout the site, regardless of context. The user will not have access to Copilot Workspace or other features that require those policies.
  3. Ensure the organization has valid Copilot access for users of Copilot Workspace.
  4. Enable the GitHub Next OAuth Application in the organization.

As we continue to evolve Copilot Workspace, we’ll be simplifying these steps, so stay tuned for improvements!

Edit and validate Autofix suggestions

GitHub Advanced Security users can now use Copilot Workspace for pull requests to triage and apply Copilot Autofix suggestions, with the ability to build, test and run the proposed changes without leaving GitHub. Learn more.

Bug fixes & other improvements

  • Added a notification so users know when they need to update the spec after the task has changed.
  • Changed search so when a file is selected, it is highlighted in the file tree.
  • Enabled renaming files on the file page, rather than just on the files changed page.
  • Changed plan to auto-hide when there is no plan defined.

Providing feedback

Please give feedback in our GitHub Discussion. Any and all feedback is appreciated!

See more

Copilot and GitHub Models o3-mini Release

OpenAI’s latest model, o3-mini, is now available in GitHub Copilot and GitHub Models, bringing OpenAI’s newest reasoning model to your coding workflow.

The o3-mini reasoning model outperforms o1 on coding benchmarks with response times that are comparable to o1-mini, meaning you’ll get improved quality at nearly the same latency.

This cutting-edge model is rolling out gradually and will be available to GitHub Copilot Pro, Business, and Enterprise users today via the model picker in Visual Studio Code and github.com chat (support in Visual Studio, and JetBrains are coming soon). To accelerate your workflow, whether you’re debugging, refactoring, modernizing, testing, or just getting started, simply select “o3-mini (Preview)” to begin using it.

Paid Copilot subscribers get up to 50 messages every 12 hours. Business or Enterprise admins can enable o3-mini access for org members through their org and enterprise admin settings pages.

GitHub Models users with a paid Copilot plan will also be able to leverage the o3-mini model to enhance their AI applications and projects later today. In the GitHub Models playground, you can explore o3-mini’s versatility as you experiment with sample prompts, refine your ideas, and iterate as you build. You can also try it alongside other models available on GitHub Models including models from Cohere, DeepSeek, Meta, and Mistral.

To learn more, check out product documentation on GitHub Models. You can also join our community discussions.

See more