zed/crates
Vitaly Slobodin 3e0c5c10b7
lsp: Handle unregistration "textDocument/rename" from a server (#19427)
Hi. While working on https://github.com/zed-industries/zed/pull/19230 I
noticed that some servers send a request to unregistered the
`textDocument/rename` capability. I thought it would be good to handle
that message in Zed:

```plaintext
[2024-10-18T21:25:07+02:00 WARN  project::lsp_store] unhandled capability unregistration: Unregistration { id: "biome_rename", method: "textDocument/rename" }
```

So this pull request implements that. Thanks.

Release Notes:

- N/A
2024-10-19 00:52:17 +02:00
..
activity_indicator lsp: Show error message in read only buffer (#19063) 2024-10-11 12:33:08 +02:00
anthropic Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
assets add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
assistant Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00
assistant_slash_command Introduce a new /delta command (#17903) 2024-09-17 08:47:08 -06:00
assistant_tool assistant: Add basic tool invocation (#17368) 2024-09-04 14:32:20 -04:00
audio Update Rust crate rodio to 0.19.0 (#17389) 2024-09-16 21:55:32 -06:00
auto_update Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
breadcrumbs Add missing shortcuts in tooltips (#18282) 2024-09-27 11:06:48 +02:00
call ssh remote: Handle disconnect on project and show overlay (#19014) 2024-10-10 12:59:09 +02:00
channel Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
cli Check paths for FS existence before parsing them as paths with line numbers (#19057) 2024-10-11 12:58:49 +03:00
client Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00
clock Fix bugs with applying hunks from branch buffers (#18721) 2024-10-07 16:28:33 -07:00
collab Revert "SSH reconnect reliability (#19398)" (#19440) 2024-10-18 15:08:56 -07:00
collab_ui Fix some issues with branch buffers (#18945) 2024-10-09 16:55:25 -07:00
collections
command_palette chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
command_palette_hooks chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
context_servers Context Servers: Protocol fixes and UI improvements (#19087) 2024-10-16 13:07:15 -07:00
copilot Fix the completions being too slow (#19013) 2024-10-10 12:53:02 +03:00
db chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
dev_server_projects chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
diagnostics Tweak warning diagnostic toggle (#18637) 2024-10-02 13:57:20 -03:00
docs_preprocessor Don't rely on relative path for docs preprocessor (#16883) 2024-08-26 11:43:13 -04:00
editor Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
evals Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
extension Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
extension_api zed_extension_api: Use v0.2.0 WIT types (#17802) 2024-09-13 14:49:50 -04:00
extension_cli Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
extensions_ui Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
feature_flags /auto (#16696) 2024-09-13 13:17:49 -04:00
feedback Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
file_finder Rework file picker for SSH modal (#19020) 2024-10-15 12:38:03 +02:00
file_icons chore: Clean up allocs around project panel (#15422) 2024-07-29 14:21:41 +02:00
fs Fix file watching for symlinks (#17609) 2024-09-30 23:04:35 -07:00
fsevent
fuzzy Improve slash commands (#16195) 2024-08-13 23:06:07 -07:00
git Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
git_hosting_providers chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
go_to_line More git hunk highlighting fixes (#18459) 2024-09-27 13:48:37 -07:00
google_ai Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
gpui Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
gpui_macros add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
headless Replace rpc with proto dependency for the headless server crate (#19048) 2024-10-11 01:36:40 +03:00
html_to_markdown chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
http_client Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
image_viewer Support uppercase extensions in image preview (#19304) 2024-10-17 08:48:18 -04:00
indexed_docs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
inline_completion_button chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
install_cli
journal chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
language Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
language_model Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00
language_selector use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
language_tools ssh remoting: Forward LSP logs to client (#19212) 2024-10-15 16:04:29 +02:00
languages Treat .postcss files as CSS (#19416) 2024-10-18 11:11:29 -04:00
live_kit_client chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
live_kit_server Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
lsp Do not resolve more completion fields (#19021) 2024-10-10 16:10:18 +03:00
markdown chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
markdown_preview Fix rendering of markdown tables (#18315) 2024-09-30 15:50:30 -07:00
media Update Rust crate bindgen to 0.70.0 (#17024) 2024-08-28 22:12:49 -07:00
menu open picker (#14524) 2024-07-15 17:04:15 -06:00
multi_buffer Don't disable auto-indent when typing in multi buffers (#18984) 2024-10-09 20:41:58 -07:00
node_runtime Make python run local worktree LSPs (#18353) 2024-09-25 12:45:41 -07:00
notifications Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
ollama Fix read timeout for ollama (#18417) 2024-09-27 00:36:17 -06:00
open_ai Stop leaking isahc assumption (#18408) 2024-09-26 14:01:05 -06:00
outline More git hunk highlighting fixes (#18459) 2024-09-27 13:48:37 -07:00
outline_panel ssh remoting: Fix cmd-o (#18308) 2024-09-24 16:23:08 -06:00
paths paths: Update doc comment (#19388) 2024-10-17 15:36:29 -04:00
picker Rework file picker for SSH modal (#19020) 2024-10-15 12:38:03 +02:00
prettier Allow using system node (#18172) 2024-09-23 15:28:04 -06:00
project lsp: Handle unregistration "textDocument/rename" from a server (#19427) 2024-10-19 00:52:17 +02:00
project_panel scrollbar: Fix horizontal scrollbar display overflow last item (#19403) 2024-10-18 14:07:50 +02:00
project_symbols Fix renames over language server for SSH remoting (#17897) 2024-09-16 16:20:17 -06:00
proto Revert "SSH reconnect reliability (#19398)" (#19440) 2024-10-18 15:08:56 -07:00
quick_action_bar Add missing shortcuts in tooltips (#18282) 2024-09-27 11:06:48 +02:00
recent_projects remote: Polish for connection progress & error dialogs (#19379) 2024-10-18 11:09:52 -06:00
refineable
release_channel chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
remote Fix flakey SSH connection (#19439) 2024-10-18 15:41:43 -07:00
remote_server Fix flakey SSH connection (#19439) 2024-10-18 15:41:43 -07:00
repl Styling option for separating terminal view background from background color (#17611) 2024-09-17 12:51:31 -04:00
reqwest_client reqwest_client: Fix socks proxy settings (#19123) 2024-10-18 09:57:00 -07:00
rich_text Disable definition lists in Markdown (#17648) 2024-09-10 11:16:27 -04:00
rope Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
rpc Add remote server cross compilation (#19136) 2024-10-12 23:23:56 -07:00
search project_search: Fix message displayed when no results are found (#19108) 2024-10-15 13:41:51 -04:00
semantic_index Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
semantic_version
session chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
settings Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
settings_ui chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
snippet Correct escaping in snippets (#14912) 2024-07-22 00:57:34 +02:00
snippet_provider chore: Fix some violations of 'needless_pass_by_ref_mut' lint (#18795) 2024-10-07 01:29:58 +02:00
snippets_ui Add snippet commands (#18453) 2024-10-02 13:27:16 +02:00
sqlez Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
sqlez_macros Compare migrations formatted uniformly (#18760) 2024-10-05 12:58:45 +03:00
story chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
storybook storybook: Load GPUI with default features (#19253) 2024-10-15 17:55:58 -04:00
sum_tree Pass Summary::Context to Item::summarize (#18510) 2024-09-29 10:30:48 -06:00
supermaven supermaven: Fix crash when editing non-ASCII text (#19153) 2024-10-14 18:27:15 +03:00
supermaven_api chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
tab_switcher tab_switcher: Use git-aware colors for file icons (#18733) 2024-10-04 10:37:41 -04:00
task Rework remote task synchronization (#18746) 2024-10-09 22:28:42 +03:00
tasks_ui Do not allow [re]running ssh tasks when not connected to the server (#19306) 2024-10-16 22:57:39 +03:00
telemetry_events collab: Remove dependency on X11 (#19079) 2024-10-11 13:28:34 -04:00
terminal Make terminal.option_as_meta=false in default settings (#19364) 2024-10-17 10:31:35 -04:00
terminal_view Better handle shell for remote ssh projects (#19297) 2024-10-16 21:49:54 +03:00
text Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
theme Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
theme_importer chore: Another round of style lints fixes (#17519) 2024-09-07 02:36:55 +02:00
theme_selector settings_ui: Add theme settings controls (#15115) 2024-07-24 16:25:52 -04:00
time_format chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
title_bar ssh: Clean up title bar indicator icon (#19328) 2024-10-16 22:25:27 -03:00
ui Restructure assistant edits to show all changes in a proposed-change editor (#18240) 2024-10-17 13:18:13 -04:00
ui_input Rename ui_text_field crate to ui_input (#13949) 2024-07-08 17:05:30 -04:00
ui_macros Add ui_macros crate & DerivePathStr derive macro (#17811) 2024-09-13 16:45:16 -04:00
util Restore HTTP client transition, but use reqwest everywhere (#19055) 2024-10-11 14:58:58 -07:00
vcs_menu vcs_menu: Streamline branch creation from branch selector (#18712) 2024-10-03 16:18:28 -04:00
vim Improve increment/decrement with leading zeros in vim mode (#18362) 2024-10-18 11:03:34 -06:00
welcome Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
workspace Always have cmd-o open a local project (#19376) 2024-10-17 10:36:53 -06:00
worktree worktree: Depend on rpc with test-support feature in tests (#18866) 2024-10-08 13:07:34 -04:00
zed Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00
zed_actions Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00