Skip to content

Tasks: Can't spawn task on temporary buffer #32662

Closed as not planned
Closed as not planned
@vuon9

Description

@vuon9

Summary

Regarding this doc: https://zed.dev/docs/tasks#variables

If I add a command that uses $ZED_FILE,, I can't spawn the task on "untitled" tab (new file which hasn't been stored yet).

Image

Description

Steps to reproduce:

  1. Add a new tab that use $ZED_FILE
  2. Create new untitled tab with a simple PHP code
  3. Try to spawn a task by icon

Expected Behavior: New task should be shown and can be executed on the temporary buffer (I don't know what is the right word for it)
Actual Behavior: New task doesn't show

Zed Version and System Specs

Zed: v0.190.5 (Zed)
OS: macOS 15.3.1
Memory: 16 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions