Disable GH Copilot per project: Project-specific Copilot settings in IntelliJ via a configuration file #159059
Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
I manage privacy and compliance with AI governance laws (and client requirements) and there is an increasing number of clients who, because of changing AI laws and the types of applications being developed, are demanding that AI generated code is not used in specific projects. A config file at the project level to manage copilot behaviour would fix the current compliance challenge. |
Beta Was this translation helpful? Give feedback.
-
|
I would like to be able to opt-out of copilot/AI on a per-repo basis. For example, this would mean that when disabled for a repo, I would not see the auto-generated commit descriptions when editing files via the GitHub web interface |
Beta Was 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.
-
Select Topic Area
Product Feedback
Copilot Feature Area
General
Body
It would be highly beneficial to have the ability to enable or disable GitHub Copilot for specific IntelliJ projects. This could be achieved by introducing a project-level configuration file (e.g.,
.ghcopilot) that contains properties to control Copilot's behavior. For example, a property likedisable_completions=truecould disable Copilot completions when the project is opened in IntelliJ.This feature would allow developers to:
Use Case:
To comply with different regulations (data privacy, compliance, contribution guidelines, etc), one currently needs to disable Copilot globally in IntelliJ. However, this prevents developers from using Copilot in other IntelliJ projects for development purposes. A project-specific configuration would solve this issue by allowing us to disable Copilot only for the sensitive project while keeping it active for others.
Proposed Solution:
Introduce a
.ghcopilotconfiguration file at the project root or in the.github/folder.Allow properties like disable_completions=true to control Copilot's behavior when the project is opened.
Ensure that Copilot settings are applied only to the specific project, without affecting other open IntelliJ instances or projects. OF course, this should also be available for VSCode, etc.
Benefits:
The basic idea was already suggested in a thread of another discussion which had a slightly different scope.
I created this discussion with more context to hopefully result in a feature request that makes it to the roadmap soon.
Please upvote if you also have this requirement.
Beta Was this translation helpful? Give feedback.
All reactions