Content Exclusions
This video demonstrates GitHub Copilot’s Content Exclusions feature. With Content Exclusions you can exclude certain parts of your codebase from being sent to Copilot. Think for example of files containing sensitive information, like secrets.
Overview
With Content Exclusions you can exclude certain parts of your codebase from being sent to Copilot. Think for example of files containing sensitive information, like secrets.
Key Features
- Enhanced Productivity: Streamline your development workflow
- AI-Powered Assistance: Leverage advanced AI capabilities
- Seamless Integration: Works naturally within your development environment
- Context-Aware: Provides relevant suggestions based on your code context
How It Works
The Content Exclusions feature analyzes your current development context to provide intelligent assistance. It considers:
- Your current code structure and patterns
- Project conventions and best practices
- Available documentation and comments
- Development environment context
Benefits
- Faster Development: Reduce time spent on repetitive tasks
- Learning Enhancement: Discover new patterns and best practices
- Error Reduction: Get assistance with common coding mistakes
- Consistency: Maintain consistent coding standards across projects
GHES Support
This feature is not currently supported in GitHub Enterprise Server (GHES) environments.