github / github/docs

Conflicting statements regarding GitHub Copilot content exclusion support in IDEs

未关闭
#41,288 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
content copilot needs SME Waiting on SME review
主要语言
TypeScript
星标
20.8k
派生
68.7k
平均合并
12 小时 24 分钟
30 天内合并 PR
105

描述

### 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_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。