github / github/docs

Conflicting statements regarding GitHub Copilot content exclusion support in IDEs

Open
#41,288 5 comments 1 reaction 0 assignees View on GitHub
content copilot needs SME Waiting on SME review
Dominant language
TypeScript
Stars
20.8k
Forks
68.7k
Avg merge
12h 24m
Merged PRs (30d)
105

Description

### Code of Conduct

- [x] I have read and agree to the GitHub Docs project's [Code of Conduct](https://github.com/github/docs/blob/main/.github/CODE_OF_CONDUCT.md)

### What article on docs.github.com is affected?

https://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot

### What part(s) of the article would you like to see updated?

### Conflicting statements regarding content exclusion support in IDEs

There appears to be a contradiction in the GitHub documentation for [Configuring content exclusion for your repository/organization/enterprise](https://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot).

1. Early in the page, it states:

> "GitHub Copilot CLI, Copilot coding agent, and Agent mode in Copilot Chat in IDEs, do not support content exclusion."

This indicates that content exclusions **do not work** in IDEs when using Copilot through these modes.

2. Later, the documentation provides instructions for testing content exclusions in IDEs (VS Code, JetBrains, Visual Studio, Vim/Neovim), implying that exclusions **do work** in IDEs, which contradicts the earlier statement.

**Suggestion:**
- Clarify which parts of Copilot respect content exclusions.

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.