# Add \`workspace::ToggleEditPrediction\` for toggling inline completions globally \(\#35418\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5b40b3618fbca8dc06bcfa101c7d42225c169151)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5b40b3618fbca8dc06bcfa101c7d42225c169151

Requested commit: 5b40b3618fbca8dc06bcfa101c7d42225c169151

Commit: 5b40b3618fbca8dc06bcfa101c7d42225c169151

Tree: efe88b20138368c5fa72e93adf1e60f2139e55a6

Author: Peter Tripp

Committer: GitHub

## Message

````
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).
````

## Parents

- [497252480ca40508d2b4778ec25001ad810ed68b](https://git.cafe/gitcafe/zed/commit/497252480ca40508d2b4778ec25001ad810ed68b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5b40b3618fbca8dc06bcfa101c7d42225c169151?format=markdown)
