Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to exclude files from worktrees #3356

Merged
merged 21 commits into from
Nov 17, 2023
Merged

Conversation

SomeoneToIgnore
Copy link
Contributor

@SomeoneToIgnore SomeoneToIgnore commented Nov 17, 2023

Allows to fully remove from Zed certain files or file groups: no items will be scanned or added into worktrees, so nothing will be shown in project tree, project search and go to file would not see those, corresponding FS events will be ignored.

One exclusion is .git files: those are still not shown or accessible by default, yet tracked in the worktrees.

By default, is configured to

  "file_scan_exclusions": [
    "**/.git",
    "**/.svn",
    "**/.hg",
    "**/CVS",
    "**/.DS_Store",
    "**/Thumbs.db",
    "**/.classpath",
    "**/.settings"
  ],
  • In addition, contains code preparations for "search in included files" feature: new SearchOptions variant, search crate and RPC adjustments

Release Notes:

  • Added file_scan_exclusions section to project settings to completely ignore certain files in Zed

@SomeoneToIgnore SomeoneToIgnore merged commit 12b59da into main Nov 17, 2023
3 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the kb/exclude-worktree-files branch November 17, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant