Fix project entry rename in Remote Development (#23382)
Closes #22883 To fix the problem, we move `handle_rename_project_entry` from `Worktree` to `LspStore` and register it there. This way it becomes available both in local and headless projects and this avoids the duplication. Release Notes: - Fixed renaming project entries in Remote Development
This commit is contained in:
parent
cc1af7d96b
commit
d40177c2ae
4 changed files with 88 additions and 56 deletions
|
@ -602,8 +602,6 @@ impl Project {
|
|||
client.add_model_request_handler(Self::handle_open_new_buffer);
|
||||
client.add_model_message_handler(Self::handle_create_buffer_for_peer);
|
||||
|
||||
client.add_model_request_handler(WorktreeStore::handle_rename_project_entry);
|
||||
|
||||
WorktreeStore::init(&client);
|
||||
BufferStore::init(&client);
|
||||
LspStore::init(&client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue