zed/crates
Thorsten Ball 1a6cd73334 Cancel language server requests if request is dropped
Before this change, we would send requests to language servers without
canceling them even if we never wait for their response.

Example: when doing document highlights, we'd send a request (modulo
debouncing) whenever a change was made, ignoring previously sent
requests that might still be in-flight.

With this change, we now send a Cancel request (from the LSP spec) to
the language server in case no one listens to the response anymore
(which is what happens when the `Future` returned by `request_internal`)
is dropped.
2024-01-19 16:28:27 +01:00
..
activity_indicator Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
ai Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
assets Fix assets build 2024-01-08 16:53:01 -07:00
assistant Style the reset key state for the assistant panel (#4136) 2024-01-18 16:38:14 -05:00
audio Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
auto_update Remove commented-out code in auto_update (#4149) 2024-01-18 23:12:42 -05:00
breadcrumbs Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
call Avoid playing newly published audio tracks when deafened (#4040) 2024-01-15 14:08:49 -08:00
channel Fine tune 2024-01-18 15:59:13 -07:00
cli
client Show cursors for remote participants (#4082) 2024-01-18 20:58:09 -07:00
clock
collab collab 0.38.0 2024-01-18 21:03:55 -07:00
collab_ui Center "Open Chat" button in chat panel (#4157) 2024-01-19 12:43:27 +01:00
collections Use FxHashMap and FxHashSet in hot code paths 2023-12-12 13:35:22 +01:00
color Update docs 2024-01-17 11:39:09 -05:00
command_palette Add command palette action events 2024-01-15 20:22:47 -05:00
copilot Refactor LanguageSever::fake into FakeLanguageServer::new 2024-01-18 10:59:32 +01:00
copilot_ui Add typo detection to CI (#4107) 2024-01-17 17:13:47 -08:00
db Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
diagnostics Editor docs (#4097) 2024-01-18 00:48:37 +01:00
editor Avoid gutter resizes on line number increase/decrease (#4135) 2024-01-19 10:25:55 +02:00
feature_flags Use try_global() 2024-01-18 01:33:30 -05:00
feedback Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
file_finder Editor docs (#4097) 2024-01-18 00:48:37 +01:00
fs Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
fsevent
fuzzy Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
git Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
go_to_line Editor docs (#4097) 2024-01-18 00:48:37 +01:00
gpui Reuse layout for view's element when it wasn't cached 2024-01-19 10:26:39 +01:00
gpui_macros Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
install_cli Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
journal Editor docs (#4097) 2024-01-18 00:48:37 +01:00
language Refactor LanguageSever::fake into FakeLanguageServer::new 2024-01-18 10:59:32 +01:00
language_selector Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
language_tools Editor docs (#4097) 2024-01-18 00:48:37 +01:00
live_kit_client Adjust APIs for simpler examples in blog post 2024-01-17 21:19:28 -07:00
live_kit_server Implement live kit promotion/demotion 2024-01-09 16:10:12 -07:00
lsp Cancel language server requests if request is dropped 2024-01-19 16:28:27 +01:00
media Start fixing up gpui2 2024-01-02 00:04:51 +01:00
menu Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
multi_buffer Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
node_runtime Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
notifications Rename notification_store 2024-01-03 20:02:23 -05:00
outline Editor docs (#4097) 2024-01-18 00:48:37 +01:00
picker Wrap over picker's matches when reaching the end of the list 2024-01-18 16:54:35 +02:00
plugin
plugin_macros
plugin_runtime Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
prettier Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00
project Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
project_panel Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
project_symbols Editor docs (#4097) 2024-01-18 00:48:37 +01:00
quick_action_bar Editor docs (#4097) 2024-01-18 00:48:37 +01:00
recent_projects Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
refineable Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
rich_text chat panel ++ (#4044) 2024-01-14 13:54:10 -07:00
rope Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
rpc remove more commented code 2024-01-12 20:10:40 -08:00
search Fix focus and re-focus of project-wide search 2024-01-18 15:05:45 +01:00
semantic_index Use try_global() 2024-01-18 01:33:30 -05:00
settings gpui: Remove dependency on sqlez (#3871) 2024-01-05 19:36:55 +01:00
snippet
sqlez Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
sqlez_macros
story Rename overflow_hidden_{x,y} to overflow_{x,y}_hidden (#4146) 2024-01-18 22:10:41 -05:00
storybook Remove more commented-out code (#4150) 2024-01-18 23:17:41 -05:00
sum_tree chore: fix clippy lints for rope2, sum_tree, text2 and util 2024-01-01 23:50:14 +01:00
terminal Always synchronize terminal before rendering it 2024-01-18 10:04:38 +01:00
terminal_view Merge branch 'main' into cursors 2024-01-18 14:03:27 -07:00
text Fix / remove small todos 2024-01-09 14:16:46 -08:00
theme Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
theme_importer Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
theme_selector Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
ui Fix docs references in ui (#4147) 2024-01-18 22:52:30 -05:00
util Cancel language server requests if request is dropped 2024-01-19 16:28:27 +01:00
vcs_menu Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
vim Fix some cases of broken repeat in vim 2024-01-18 13:20:08 -07:00
welcome Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
workspace Remove more commented-out code (#4150) 2024-01-18 23:17:41 -05:00
zed Revert "Improve panic logging" 2024-01-18 19:39:13 -07:00
zed_actions Remove 2 suffix from gpui 2024-01-03 12:59:39 -08:00