.copilotignore support #10305
Replies: 33 comments 56 replies
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
BetaWas this translation helpful?Give feedback.
-
Curious about this as well. Came from https://github.com/orgs/community/discussions/11254 |
BetaWas this translation helpful?Give feedback.
-
Copilot Chat seems to think that And VS Code - Insiders detects the file and gives it its own icon: But cannot confirm if it is really doing something. |
BetaWas this translation helpful?Give feedback.
-
@neverbot it does not work. |
BetaWas this translation helpful?Give feedback.
-
Any update on when this will be supported ? |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems to be working now :) |
BetaWas this translation helpful?Give feedback.
-
Any update about this? |
BetaWas this translation helpful?Give feedback.
-
Any news about this? |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since I am subscribed to this issue and use the Vim version of Copilot, I asked ChatGPT about this: https://chat.openai.com/share/bae6b22c-31f1-435f-aac0-05812fbe7c73 Maybe there is an equivalent plugin for VSCode? |
BetaWas this translation helpful?Give feedback.
-
Anyone know when this feature will be available in GA ? |
BetaWas this translation helpful?Give feedback.
-
A first answer during GitHub Universe 2023 : https://docs.github.com/en/copilot/managing-copilot-business/configuring-content-exclusions-for-github-copilot |
BetaWas this translation helpful?Give feedback.
-
BetaWas this translation helpful?Give feedback.
-
This same discussion is going on for IntelliJ as well, and possibly other AI solutions. I would like to plead with the powers that be that you all get on the same page and create a proper standard for this. Not specifically a .SOMEIDEAI-ignore file. Can we please just create a |
BetaWas this translation helpful?Give feedback.
-
This is my way of implementing |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to request a feature to be able to restrict the copilot chat feature from accessing certain files. Currently, in order to comply with my organization rules about perserving sensetive data we're required to remove it manually before using the chat functionality which causes alot of friction. Thanks! |
BetaWas this translation helpful?Give feedback.
-
Good afternoon, I suggest using the name Link to |
BetaWas this translation helpful?Give feedback.
-
We are often handling very sensitive data, and GitHub Copilot isn't usable in its current state. Plain excludes aren't helpful because you can never know how files are named in people's workspaces. What we need is a combination of include/exclude patterns, like those done in negating matches. For example: |
BetaWas this translation helpful?Give feedback.
-
Lol Copilot DOA! It's indexing my pnpm.lock.yaml LMAO and using it as context. RIP |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I added this file to my project to exclude some files. When I select Copilot as a reviewer in PR, it doesn't supported the ignore file:
|
BetaWas this translation helpful?Give feedback.
-
This is what I needed to get copilot to finally ignore things: https://code.visualstudio.com/docs/copilot/reference/workspace-context#_what-content-is-included-in-the-workspace-index
I had to fully close and reload the extension for it to start working. YMMV. Also worth noting I am on the pre-release version of Copilot. |
BetaWas this translation helpful?Give feedback.
-
When is this going to be supported? Copilot was reading from my |
BetaWas this translation helpful?Give feedback.
-
AI Assistant from JetBrains already supports such a mechanism.
|
BetaWas this translation helpful?Give feedback.
-
Here I am, three and a half years later, adding my one voice to the chorus. Please give us .copilotignore! |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a huge security concern. Adding this needs to be a top priority or no organization can in good conscience use copilot. Even if it exists, it needs to be extremely obvious and guaranteed that any file can be ignored on demand. |
BetaWas this translation helpful?Give feedback.
-
This is the single reason I'm not trying out copilot over current cursor setup. It's too risky for any serious project, not even worth a try. |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I vouch for a global and standardized It is time to standardize and get rit of all the custom AI Instructions and AI Ignore files for Claude, Jetbrains, Cursor, Copilot etc. In our projects half the files in root folders are for all the different AI tools we use. It's a big mess. |
BetaWas this translation helpful?Give feedback.
-
It's a long time. and at first I just want Copilot to ignore |
BetaWas this translation helpful?Give feedback.
-
How is this still open with no acknowledgement, let alone any sort of traction or pathway to closure after nearly 4 years of being open? |
BetaWas this translation helpful?Give feedback.
-
Absolute insanity that some kind of ignore functionality is still not supported. Small thing, but limiting in weird ways that make Copilot awkward to use in real world projects. |
BetaWas this translation helpful?Give feedback.
-
Has this been implemented yet? How do we get Copilot to ignore certain files? |
BetaWas this translation helpful?Give feedback.









Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Too much discussion about GitHub Copilot telemetry for internal projects, and I want to use Copilot for internal projects too, such as Makefile, Shell scripts, some unit tests etc, and they are not sensitive, and Copilot can save my life to edit these files.
Lots of ignore files now, for example:
How about to introduce .copilotignore file, and GitHub Copilot plugin will ignore these files for AI assistance to avoid telemetry problem.
BetaWas this translation helpful?Give feedback.
All reactions