Add support for namespace changes in action deprecations (#23086)

cc @cole-miller 

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-01-13 13:56:22 -07:00 committed by GitHub
parent b633f62aa6
commit d4e91c1898
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 14 deletions

View file

@ -1,6 +1,6 @@
//! This module contains all actions supported by [`Editor`].
use super::*;
use gpui::{action_aliases, action_as};
use gpui::{action_as, action_with_deprecated_aliases};
use schemars::JsonSchema;
use util::serde::default_true;
@ -394,4 +394,4 @@ gpui::actions!(
action_as!(go_to_line, ToggleGoToLine as Toggle);
action_aliases!(editor, OpenSelectedFilename, [OpenFile]);
action_with_deprecated_aliases!(editor, OpenSelectedFilename, ["editor::OpenFile"]);