mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-24 05:25:18 +00:00
cli: Allow opening non-existent paths (#43250)
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 ``` Co-authored-by: Syed Sadiq Ali <sadiqonemail@gmail.com>
This commit is contained in:
parent
06f8e35597
commit
48e113a90e
5 changed files with 185 additions and 24 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cargo build; cargo run -p cli -- --foreground --zed=target/debug/zed "$@"
|
||||
cargo build -p zed && cargo run -p cli -- --foreground --zed=${CARGO_TARGET_DIR:-target}/debug/zed "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue