zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.61k stars 2.91k forks source link

Copilot: ability to disable in absolute paths #10197

Open iSach opened 6 months ago

iSach commented 6 months ago

Check for existing issues

Describe the feature

Currently, disabling copilot for a given path only does it by matching relative paths. This is not very convenient when one would like to disable suggestions for some parent folder in which several projects are.

It would be nice for Zed to check for absolute paths (in addition) to relative paths.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

jansol commented 6 months ago

You'd probably also want to disable copilot for system paths like /etc by default even if you occasionally have to open files from them...