Skip to content

Conversation

@queuedecay
Copy link

Updated note on content exclusion support in various modes. The article https://github.com/github/docs/blob/main/content/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot.md contains a better note. Copying the note from that page. The current text in this article could mislead users into thinking the feature will work in editors other than VS Code.

Why:

Closes: #40951

What's being changed (if available, include any code snippets, screenshots, or gifs):

I simply copied line 34 from https://github.com/github/docs/blob/main/content/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot.md, and then pasted it over line 51 in this document. FYI, I'm a Microsoft GBB, not GitHub staff.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Updated note on content exclusion support in various modes. The article https://github.com/github/docs/blob/main/content/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot.md contains a better note. Copying the note from that page. The current text in this article could mislead users into thinking the feature will work in editors other than VS Code.
@Copilot Copilot AI review requested due to automatic review settings October 23, 2025 03:08
@welcome
Copy link

welcome bot commented Oct 23, 2025

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR clarifies which Copilot modes and features support content exclusion by replacing an outdated note with more comprehensive information from another documentation page.

Key changes:

  • Updated the content exclusion support note to cover more Copilot modes (CLI, Coding Agent, and Agent mode in IDEs)
  • Added cross-references to relevant documentation pages for additional context

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

> [!NOTE]
> * Content exclusion is in {% data variables.release-phases.public_preview %} on the {% data variables.product.github %} website and in {% data variables.product.prodname_mobile %} and is subject to change.
> * Content exclusion is currently not supported in Edit and Agent modes of {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode %}.
> * {% data variables.copilot.copilot_cli %}, {% data variables.copilot.copilot_coding_agent %}, and Agent mode in {% data variables.copilot.copilot_chat_short %} in IDEs, do not support content exclusion. For more information, see [AUTOTITLE](/copilot/concepts/agents/coding-agent/about-coding-agent) and [AUTOTITLE](/copilot/how-tos/chat-with-copilot/chat-in-ide).
Copy link

Copilot AI Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comma after 'IDEs' should be removed as it creates a comma splice. The sentence should read: 'Agent mode in {% data variables.copilot.copilot_chat_short %} in IDEs do not support content exclusion.'

Suggested change
> * {% data variables.copilot.copilot_cli %}, {% data variables.copilot.copilot_coding_agent %}, and Agent mode in {% data variables.copilot.copilot_chat_short %} in IDEs, do not support content exclusion. For more information, see [AUTOTITLE](/copilot/concepts/agents/coding-agent/about-coding-agent) and [AUTOTITLE](/copilot/how-tos/chat-with-copilot/chat-in-ide).
> * {% data variables.copilot.copilot_cli %}, {% data variables.copilot.copilot_coding_agent %}, and Agent mode in {% data variables.copilot.copilot_chat_short %} in IDEs do not support content exclusion. For more information, see [AUTOTITLE](/copilot/concepts/agents/coding-agent/about-coding-agent) and [AUTOTITLE](/copilot/how-tos/chat-with-copilot/chat-in-ide).

Copilot uses AI. Check for mistakes.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Oct 23, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 23, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/concepts/context/content-exclusion.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@Sharra-writes
Copy link
Contributor

@queuedecay Thanks for bringing this up! My main issue with this edit is that it's giving information that has no apparent relevance to the subject, at least from my perspective (keep in mind that I'm not an engineer). One principle of good writing is that every word you add detracts and distracts from every other word already there. My preference would be to change the note to say, "Content exclusion is currently not supported in Edit and Agent modes of Copilot Chat in Visual Studio Code and other IDEs," because it stays on topic and adds very few additional words.

That's a writer's perspective. If you have a relevant engineering perspective that's different, I'm definitely willing to be persuaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Content Exclusion Note about limitations

2 participants