Port to gpui1
This commit is contained in:
parent
3694265b6b
commit
55374e8ac0
7 changed files with 263 additions and 5 deletions
|
@ -178,7 +178,9 @@ message Envelope {
|
|||
GetNotifications get_notifications = 150;
|
||||
GetNotificationsResponse get_notifications_response = 151;
|
||||
DeleteNotification delete_notification = 152;
|
||||
MarkNotificationRead mark_notification_read = 153; // Current max
|
||||
MarkNotificationRead mark_notification_read = 153;
|
||||
LspExtExpandMacro lsp_ext_expand_macro = 154;
|
||||
LspExtExpandMacroResponse lsp_ext_expand_macro_response = 155; // Current max
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1619,3 +1621,14 @@ message Notification {
|
|||
bool is_read = 6;
|
||||
optional bool response = 7;
|
||||
}
|
||||
|
||||
message LspExtExpandMacro {
|
||||
uint64 project_id = 1;
|
||||
uint64 buffer_id = 2;
|
||||
Anchor position = 3;
|
||||
}
|
||||
|
||||
message LspExtExpandMacroResponse {
|
||||
string name = 1;
|
||||
string expansion = 2;
|
||||
}
|
||||
|
|
|
@ -280,6 +280,8 @@ messages!(
|
|||
(UpdateWorktree, Foreground),
|
||||
(UpdateWorktreeSettings, Foreground),
|
||||
(UsersResponse, Foreground),
|
||||
(LspExtExpandMacro, Background),
|
||||
(LspExtExpandMacroResponse, Background),
|
||||
);
|
||||
|
||||
request_messages!(
|
||||
|
@ -363,6 +365,7 @@ request_messages!(
|
|||
(UpdateParticipantLocation, Ack),
|
||||
(UpdateProject, Ack),
|
||||
(UpdateWorktree, Ack),
|
||||
(LspExtExpandMacro, LspExtExpandMacroResponse),
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
@ -415,6 +418,7 @@ entity_messages!(
|
|||
UpdateProjectCollaborator,
|
||||
UpdateWorktree,
|
||||
UpdateWorktreeSettings,
|
||||
LspExtExpandMacro,
|
||||
);
|
||||
|
||||
entity_messages!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue