zed/crates
Antonio Scandurra 96a2cc85d7 Fix panic when clicking on a definition
This was introduced with #2420 and was caused by re-entrantly updating
the workspace. Instead of passing the workspace reference from the outside,
we now define the definition navigation as a method on the editor which solves
the issue.

Note that we also needed to introduce a `defer` call when navigating to a definition
to prevent the workspace from reading the editor during `open_project_item`.
2023-05-01 08:46:47 -07:00
..
activity_indicator Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
assets 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
auto_update Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
breadcrumbs Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
call 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
cli 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
client Rework telemetry code to support sending events to Clickhouse 2023-05-01 08:46:47 -07:00
clock 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
collab Render more markdown features in hover popover 2023-05-01 08:46:46 -07:00
collab_ui Remove Dismiss and RespondToContactRequest internal actions 2023-05-01 08:42:12 -07:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
context_menu Remove internal actions from ContextMenu 2023-05-01 08:42:12 -07:00
copilot Source ESLint server from Github rather than 3rd party NPM package 2023-05-01 08:46:47 -07:00
copilot_button 💄 2023-05-01 08:42:12 -07:00
db 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
diagnostics Remove unused Jump internal action 2023-05-01 08:42:12 -07:00
drag_and_drop Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
editor Fix panic when clicking on a definition 2023-05-01 08:46:47 -07:00
feedback Rework telemetry code to support sending events to Clickhouse 2023-05-01 08:46:47 -07:00
file_finder 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
fs 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
go_to_line 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
gpui Remove obsolete presenter modules 2023-05-01 08:46:47 -07: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-05-01 08:42:12 -07:00
journal Don't allow strong view handles to be read/updated with an AsyncAppContext 2023-05-01 08:42:12 -07:00
language Show source of diagnostic hovers 2023-05-01 08:44:46 -07:00
language_selector Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
live_kit_client 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
lsp 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
lsp_log 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
media 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
menu Remove internal actions from menu crate 2023-05-01 08:42:12 -07:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-05-01 08:46:47 -07:00
outline Remove highlighted rows when confirming outline view 2023-05-01 08:42:12 -07:00
picker Remove internal actions from menu crate 2023-05-01 08:42:12 -07:00
plugin 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
plugin_macros 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
plugin_runtime 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
project Render more markdown features in hover popover 2023-05-01 08:46:46 -07:00
project_panel Remove internal actions from project_panel 2023-05-01 08:42:12 -07:00
project_symbols Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
recent_projects Eliminate OpenPaths global action for workspace and replace with methods 2023-05-01 08:42:12 -07:00
rope 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
rpc Render more markdown features in hover popover 2023-05-01 08:46:46 -07:00
search Remove Jump internal action 2023-05-01 08:42:12 -07:00
settings 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
snippet 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
sqlez 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
sum_tree 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
terminal 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
terminal_view Remove internal actions from terminal_button 2023-05-01 08:42:12 -07:00
text 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
theme Render more markdown features in hover popover 2023-05-01 08:46:46 -07:00
theme_selector Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
theme_testbench 🎨 Specify more dependencies at the workspace level 2023-05-01 08:42:12 -07:00
util Source ESLint server from Github rather than 3rd party NPM package 2023-05-01 08:46:47 -07:00
vim Fix vim mode crash when active editor changes in inactive window 2023-05-01 08:42:12 -07:00
welcome Remove unnecessary calls to WeakViewHandle::upgrade 2023-05-01 08:42:12 -07:00
workspace Remove SplitWithProjectEntry internal action 2023-05-01 08:42:12 -07:00
zed Rework telemetry code to support sending events to Clickhouse 2023-05-01 08:46:47 -07:00