Skip to content

What does Copilot use as context? #119697

Answered by Akash1134
patosgui asked this question in Copilot
Discussion options

You must be logged in to vote

Hi @patosgui ,

Thanks for posting in the GitHub Community.

If I tell copilot (locally) to ignore certain files, does it work the same way as if I would do it repo/organization wide?

Yes, if you locally configure Copilot to ignore certain files, it should respect these settings and not consider those files when providing suggestions. This would work similarly to setting these exclusions at the repo or organization level. However, the specifics might depend on the exact version and configuration of your Copilot tool.

If I have, for example, an allowed file open in the editor and a forbidden one opened on a tab, can I be sure that copilot won't use it for context?

Copilot should not use …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Akash1134
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copilot Code accurately and faster with your AI powered pair-programmer. Question
2 participants