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.81k stars 2.93k forks source link

Zed cli does not open excluded subdir of open project #19456

Open a-non-a-mouse opened 5 days ago

a-non-a-mouse commented 5 days ago

Check for existing issues

Describe the bug / provide steps to reproduce it

If the project isn't already open in zed, it opens as expected, but if it is, the explicit open is ignored

Environment

Zed: v0.157.5 (Zed) OS: macOS 15.0.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 Zed.log file to this issue.

Zed.log


notpeter commented 3 days ago

I can reproduce. I added a path to my project settings:

  "file_scan_exclusions": [".idea"],

And tried to launch with:

zedn .idea

And nothing happened. Log:

2024-10-21T11:59:15.028237-04:00 [INFO] open paths ["/Users/peter/zcode/zed/.idea"]