zed icon indicating copy to clipboard operation
zed copied to clipboard

"file_scan_exclusions" not working in local (folder) settings

Open kharenzze opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Defining "file_scan_exclusions" in a project .zed/.settings does not work, it keeps including files in searches. Defining that array in global settings works perfectly.

Environment

Zed: v0.119.21 (Zed) OS: macOS 14.3.0 Memory: 16 GiB Architecture: aarch64

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

kharenzze avatar Feb 01 '24 08:02 kharenzze

Yes I noticed that too. I had no choice but to create a global file_scan_exclusions configuration for all projects / workspaces opened in Zed, which obviously isn't a scalable solutions as the config itself isn't portable from one project to another (different file names / paths, which may in fact conflict).

Related issue: https://github.com/zed-industries/zed/issues/7071

danielweck avatar Feb 01 '24 09:02 danielweck

It would be a great and useful feature to have per-project file_scan_exclusions settings, to meet the needs of unique project setups.

usizu avatar May 16 '24 05:05 usizu