Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)

* feat: config reload ipc event

* cleanups

* Rename and move the new config option

* rename to ConfigLoaded and emit at connection

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
Horu
2025-08-17 16:28:24 +10:00
committed by GitHub
parent af30cc8df6
commit 271534e115
9 changed files with 107 additions and 5 deletions
+10
View File
@@ -1399,6 +1399,16 @@ pub enum Event {
/// The new state of the overview.
is_open: bool,
},
/// The configuration was reloaded.
///
/// You will always receive this event when connecting to the event stream, indicating the last
/// config load attempt.
ConfigLoaded {
/// Whether the loading failed.
///
/// For example, the config file couldn't be parsed.
failed: bool,
},
}
impl FromStr for WorkspaceReferenceArg {