Changes are made to `parse_path_with_position`: we try to get the canonical, existing parts of a path, then append the non-existing parts. Closes #4441 Release Notes: - Added the possibility to open a non-existing path using `zed` CLI ``` zed path/to/non/existing/file.txt ```
Showing the changes to script/debug-cli (1 of 5 files). Show all
Unified · Split
| @@ -1,3 +1,3 @@ | ||
| 1 | 1 | #!/usr/bin/env bash |
| 2 | 2 | |
| 3 | −cargo build; cargo run -p cli -- --foreground --zed=target/debug/zed "$@" | |
| 3 | +cargo build -p zed && cargo run -p cli -- --foreground --zed=${CARGO_TARGET_DIR:-target}/debug/zed "$@" | |