Remove old project search code path, bump min-supported zed version for collaboration (#18404)

Release Notes:

- N/A
This commit is contained in:
Max Brunsfeld 2024-09-26 12:10:39 -07:00 committed by GitHub
parent 71da81c743
commit c1a039a5d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 22 additions and 157 deletions

View file

@ -108,8 +108,6 @@ message Envelope {
PrepareRenameResponse prepare_rename_response = 84;
PerformRename perform_rename = 85;
PerformRenameResponse perform_rename_response = 86;
SearchProject search_project = 87;
SearchProjectResponse search_project_response = 88;
UpdateContacts update_contacts = 89;
UpdateInviteInfo update_invite_info = 90;
@ -287,6 +285,7 @@ message Envelope {
CheckFileExistsResponse check_file_exists_response = 256; // current max
}
reserved 87 to 88;
reserved 158 to 161;
reserved 166 to 169;
reserved 224 to 229;
@ -1238,22 +1237,6 @@ message PerformRenameResponse {
ProjectTransaction transaction = 2;
}
message SearchProject {
uint64 project_id = 1;
string query = 2;
bool regex = 3;
bool whole_word = 4;
bool case_sensitive = 5;
string files_to_include = 6;
string files_to_exclude = 7;
bool include_ignored = 8;
}
message SearchProjectResponse {
repeated Location locations = 1;
bool limit_reached = 2;
}
message SearchQuery {
string query = 2;
bool regex = 3;

View file

@ -279,8 +279,6 @@ messages!(
(SaveBuffer, Foreground),
(SetChannelMemberRole, Foreground),
(SetChannelVisibility, Foreground),
(SearchProject, Background),
(SearchProjectResponse, Background),
(SendChannelMessage, Background),
(SendChannelMessageResponse, Background),
(ShareProject, Foreground),
@ -454,7 +452,6 @@ request_messages!(
(RespondToChannelInvite, Ack),
(RespondToContactRequest, Ack),
(SaveBuffer, BufferSaved),
(SearchProject, SearchProjectResponse),
(FindSearchCandidates, FindSearchCandidatesResponse),
(SendChannelMessage, SendChannelMessageResponse),
(SetChannelMemberRole, Ack),
@ -541,7 +538,6 @@ entity_messages!(
ResolveCompletionDocumentation,
ResolveInlayHint,
SaveBuffer,
SearchProject,
StartLanguageServer,
SynchronizeBuffers,
TaskContextForLocation,