# Symlink scan option \(\#53646\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/590aaafcabf67a055b7a448bd87ebaf34711c968)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 590aaafcabf67a055b7a448bd87ebaf34711c968

Requested commit: 590aaafcabf67a055b7a448bd87ebaf34711c968

Commit: 590aaafcabf67a055b7a448bd87ebaf34711c968

Tree: acb9cf6189bc86070c716134fbb345b6431f37d3

Author: auwi-nordic

Committer: GitHub

## Message

```
Symlink scan option (#53646)

Adds option to always search/scan symlinks for more thorough coverage of
#41887 issue

This is a significant rewrite and more thoroughly reviewed and tested
version of the old PR here:
https://github.com/zed-industries/zed/pull/46344

The "never" option was removed from the old PR, since "expanded" is now
the default. Perhaps "never" can be added as an option later if there's
demand for it. Adding that option may resolve #48890 for instance.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
(significant impact with "always" option, but "expanded" is default)

Release Notes:

- Add option choose between including expanded symlinks or include all
symlinks in project search (#41887)

---------

Co-authored-by: Eric Holk <eric@zed.dev>
```

## Parents

- [ee74df510f591ab3af682fee3ecde144fba74868](https://git.cafe/gitcafe/zed/commit/ee74df510f591ab3af682fee3ecde144fba74868?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/590aaafcabf67a055b7a448bd87ebaf34711c968?format=markdown)
