ZIm/crates/edit_prediction_button
Peter Tripp 5b40b3618f
Add workspace::ToggleEditPrediction for toggling inline completions globally (#35418)
Closes: https://github.com/zed-industries/zed/issues/23704

Existing action is `editor::ToggleEditPrediction` ("This Buffer").
This action is `workspace::ToggleEditPredction` ("All Files").

You can add a custom keybind wi shortcut with:
```json
  { "context": "Workspace", "bindings": { "ctrl-alt-cmd-e": "workspace::ToggleEditPrediction" } },
```

<img width="212" height="439" alt="Screenshot 2025-07-31 at 12 52 19"
src="https://github.com/user-attachments/assets/15879daa-7d4d-4308-ab2b-5e78507f2fa5"
/>


Release Notes:

- Added `workspace::ToggleEditPrediction` action for toggling
`show_edit_predictions` in settings (Edit Predictions menu -> All
Files).
2025-08-05 09:35:52 -04:00
..
src Add workspace::ToggleEditPrediction for toggling inline completions globally (#35418) 2025-08-05 09:35:52 -04:00
Cargo.toml Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00
LICENSE-GPL Rename remaining mentions of "inline completion" to "edit prediction" (#35512) 2025-08-04 16:22:18 +00:00