GitHub Copilot Spaces: Bring the right context to every suggestion
Blog post from GitHub
GitHub Copilot Spaces addresses the challenge of large language models making incorrect assumptions due to a lack of specific context by allowing users to create "spaces" that bundle relevant context, such as code, documents, and other textual data, into a reusable and shareable format. This feature enhances Copilot's ability to generate accurate and contextually grounded responses, making it feel like an organization's internal expert is providing the answers. Spaces can include custom instructions to enforce coding styles or team conventions, and they stay updated with the referenced codebase. While currently in public preview, Copilot Spaces integrates with GitHub's existing permission model, and future developments aim to include IDE integration and support for issues and pull requests. This tool is designed to streamline workflows, reduce dependency on subject-matter experts, and improve the accuracy of AI-generated code and responses by having access to curated organizational knowledge.