Skip to content

File creation is inconsistent with result #45550

@BANOnotIT

Description

@BANOnotIT

Reproduction steps

  1. Have the following structure:
dir/
- sub/
- - file
  1. Open Zed in root
  2. Select dir with and call new file creation (% in vim mode)

Current vs. Expected behavior

Current

zed.create.file.bug.webm

(stuff in square brackets is in active state):
While creating file it looks like this

[dir]/sub/
- [___]
- file

And after file is created it unfolds all directories and it looks correct:

dir/
- sub/
- - file
- test

Expected

It should show where new file will be created when it shows input field, not after it's creation, like this:

[dir]/
- [___]
- sub/
- - file

Like VSCode does:

Details

Image

Zed version and system specs

Zed: v0.217.3+stable.105.80433cb239e868271457ac376673a5f75bc4adb1 (Zed)
OS: Linux Wayland fedora 41
Memory: 27.2 GiB
Architecture: x86_64
GPU: AMD Radeon 780M (RADV PHOENIX) || radv || Mesa 25.0.7

Attach Zed log file

No response

Relevant Zed settings

No response

Relevant Keymap

No response

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:parity/vimFeedback for Vim parity featuresarea:ui/panelFeedback for panels. Panels are the content that fills the docks.frequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugs

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions