Rename settings and keymap actions (#39970)

This PR renames the following actions to make it easier and prioritize
the UI version of interacting with them:

| Before | After |
|--------|--------|
| `OpenSettingsEditor` | `OpenSettings` |
| `OpenSettings` | `OpenSettingsFile` |
| `OpenKeymapEditor` | `OpenKeymap` |
| `OpenKeymap` | `OpenKeymapFile` | 

Release Notes:

- Rename actions to open settings (UI/window and JSON file) as well as
to open the keymap (editor tab and JSON file).
This commit is contained in:
Danilo Leal
2025-10-10 17:29:20 -03:00
committed by GitHub
parent 120faadef8
commit 18405dece8
15 changed files with 191 additions and 192 deletions
+1 -1
View File
@@ -24645,7 +24645,7 @@ impl Render for MissingEditPredictionKeybindingTooltip {
.items_end()
.w_full()
.child(Button::new("open-keymap", "Assign Keybinding").size(ButtonSize::Compact).on_click(|_ev, window, cx| {
window.dispatch_action(zed_actions::OpenKeymap.boxed_clone(), cx)
window.dispatch_action(zed_actions::OpenKeymapFile.boxed_clone(), cx)
}))
.child(Button::new("see-docs", "See Docs").size(ButtonSize::Compact).on_click(|_ev, _window, cx| {
cx.open_url("https://zed.dev/docs/completions#edit-predictions-missing-keybinding");