Search code examples
visual-studio-codegithub-copilot

Can you make GitHub Copilot opt-in on a per-project basis?


I'm using the VS Code GitHub Copilot extension. Sometimes I edit files that contain secrets, and I don't want to accidentally send those to Microsoft/GitHub.

Is it possible to make Copilot opt-in, so that it is only enabled if I have explicitly activated it for a project?


Solution

  • You can disable the extension and then enable for only the projects and workspaces you want it to be enabled.