zed icon indicating copy to clipboard operation
zed copied to clipboard

Project Settings: Disable copilot for sensitive repos

Open Morgandri1 opened this issue 1 year ago • 3 comments

Summary: Add project setting to disable use of copilot / inline autocompletion to prevent sensitive projects being shared with LLMs.

Description

My company has a policy against using tools like github copilot which have full codebase read access. I'd love to be able to disable copilot in my folder specific settings, which as far as i can tell i cannot.

Morgandri1 avatar Jul 06 '24 21:07 Morgandri1

Any updates? in https://zed.dev/docs/assistant/configuration we can disable copilot features, but I can't see anything on specific folders.

varo6 avatar Nov 23 '24 17:11 varo6

Hey, I understand the use-case and think this is a reasonable request for working with sensitive repos. Is there a .vscode/settings.json or JetBrains equivalent for this?

Curious whether you would be looking for fine-grained controlled, e.g.

  • disable_inline_completions
  • disable_assistant

Or just a disable_ai or some such.

notpeter avatar Jan 30 '25 16:01 notpeter

Hey there, not sure if theres a VSC or JB equivalent, i've only used Zed for the past year or so. The ideal setup for something like this would be a setting that disables sending any content to the agent instead of disables any incoming like disable_inline_completions does

Morgandri1 avatar Jan 30 '25 17:01 Morgandri1

Hey, I understand the use-case and think this is a reasonable request for working with sensitive repos. Is there a .vscode/settings.json or JetBrains equivalent for this?

Curious whether you would be looking for fine-grained controlled, e.g.

  • disable_inline_completions
  • disable_assistant

Or just a disable_ai or some such.

There are project-level .zed/settings.json files, but I tested disable_ai there and it doesn't seem to work. I've made a new issue as a result:

  • https://github.com/zed-industries/zed/issues/38442

brian-mcnally avatar Sep 18 '25 23:09 brian-mcnally

I'm going to go ahead and merge this into:

  • https://github.com/zed-industries/zed/issues/16156

Please 👍 and subscribe to that issue to track progress. Thanks for filing.

notpeter avatar Sep 19 '25 18:09 notpeter