Restructure KeyMap file, make it easy to edit in Zed
Add a JSON schema for this file so that autocomplete can be used for the actions.
This commit is contained in:
parent
f52050a9ec
commit
066b4faf61
6 changed files with 610 additions and 466 deletions
|
@ -1306,6 +1306,10 @@ impl MutableAppContext {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn all_action_names<'a>(&'a self) -> impl Iterator<Item = &'static str> + 'a {
|
||||
self.action_deserializers.keys().copied()
|
||||
}
|
||||
|
||||
pub fn available_actions(
|
||||
&self,
|
||||
window_id: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue