Skip to content

Format on save no longer working after latest Zed update #40334

Description

@secondl1ght

Summary

Format on save no longer working after latest Zed update.

Description

This feature worked until the release today.

Steps to reproduce:

  1. update Zed to today's release
  2. edit a file
  3. format on save is broken

Expected Behavior: File is formatted like before.
Actual Behavior: Nothing is formatted.

settings.json
{
  "format_on_save": "on",
  "prettier": {
    "allowed": false
  },
  "title_bar": {
    "show_branch_icon": false
  },
  "restore_on_startup": "last_session",
  "features": { "edit_prediction_provider": "zed" },
  "project_panel": { "folder_icons": true,
                     "default_width": 360 },
  "languages": {
    "JavaScript": {
            "formatter": [
                {
                    "code_action": "source.fixAll.eslint"
                }
            ]
        },
    "TypeScript": {
            "formatter": [
                {
                    "code_action": "source.fixAll.eslint"
                }
            ]
        },
    "TSX": {
            "formatter": [
                {
                    "code_action": "source.fixAll.eslint"
                }
            ]
        }
  },
  "formatter": {
    "external": {
      "command": "prettier",
      "arguments": ["--stdin-filepath", "{buffer_path}"]
    }
  },
  "git_panel": {
    "dock": "right"
  },
  "show_edit_predictions": false,
  "edit_predictions": {
    "mode": "subtle",
    "copilot": {
      "proxy": null,
      "proxy_no_verify": null,
      "enterprise_uri": null
    },
    "enabled_in_text_threads": false
  },
  "icon_theme": "Material Icon Theme",
  "agent": {
    "default_profile": "ask",
    "default_model": {
      "provider": "zed.dev",
      "model": "claude-sonnet-4"
    },
    "play_sound_when_agent_done": true
  },
  "minimap": {
    "show": "auto"
  },
  "git": {
    "inline_blame": {
      "enabled": false,
      "delay_ms": 0,
      "padding": 7,
      "min_column": 0,
      "show_commit_summary": false
    }
  },
  "telemetry": {
    "diagnostics": false,
    "metrics": false
  },
  "ui_font_size": 16,
  "buffer_font_size": 16,
  "theme": {
    "mode": "system",
    "light": "One Light",
    "dark": "One Dark"
  }
}

Zed Version and System Specs

Zed: v0.208.4 (Zed)
OS: Linux Wayland ubuntu 24.04
Memory: 62 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV GFX1150) || radv || Mesa 25.0.7-0ubuntu0.24.04.2

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