zed/crates
Antonio Scandurra 794446bf8b Move debug_elements to AsyncAppContext
Previously, `debug_elements` was available on `WindowContext`. If that
method was called while having a borrow out to a view, it would panic because
the view would already have been borrowed.

By moving it to an `AsyncAppContext` we ensure the method can't be called while
a view is being used.
2023-05-02 11:09:40 +02:00
..
activity_indicator Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
assets 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
auto_update Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
breadcrumbs Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
call 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
client use installation_id over device_id 2023-05-01 16:29:51 -04:00
clock 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
collab Merge remote-tracking branch 'origin/main' into simplify-action-dispatch 2023-04-28 17:31:12 +02:00
collab_ui Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Run until parked now that the command palette spawns to dispatch action 2023-05-01 16:58:07 +02:00
context_menu Move dispatch_action_any_action_at to AsyncAppContext 2023-05-01 16:40:57 +02:00
copilot Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
copilot_button Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
db 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
diagnostics Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
drag_and_drop Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
editor Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
feedback use installation_id over device_id 2023-05-01 16:29:51 -04:00
file_finder 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fs 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
go_to_line 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
gpui Move debug_elements to AsyncAppContext 2023-05-02 11:09:40 +02:00
gpui_macros Make production code compile again 2023-04-17 12:33:33 +02:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Don't allow strong view handles to be read/updated with an AsyncAppContext 2023-04-26 13:36:13 +02:00
language Show source of diagnostic hovers 2023-04-27 14:35:34 -04:00
language_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
live_kit_client 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp_log 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
media 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
menu Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
outline Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
picker Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_runtime 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
project Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
project_panel Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
project_symbols Remove unnecessary calls to WeakViewHandle::upgrade 2023-04-26 11:13:46 +02:00
recent_projects Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
rope 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
rpc Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
search Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
settings 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal_view Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
text 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
theme Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
theme_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
theme_testbench 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
util Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
vim Fix vim mode crash when active editor changes in inactive window 2023-04-27 10:43:35 -07:00
welcome Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
workspace Defer hiding the dock and going back/forward when Pane is on the stack 2023-05-01 17:06:05 +02:00
zed Move debug_elements to AsyncAppContext 2023-05-02 11:09:40 +02:00