Restructure LSP log view to show log messages in addition to RPC trace

This commit is contained in:
Max Brunsfeld 2023-06-07 14:48:08 -07:00
parent 78f9642ac2
commit 66f215cd13
5 changed files with 337 additions and 138 deletions

View file

@ -311,9 +311,8 @@ pub fn initialize_workspace(
toolbar.add_item(submit_feedback_button, cx);
let feedback_info_text = cx.add_view(|_| FeedbackInfoText::new());
toolbar.add_item(feedback_info_text, cx);
let lsp_log_item = cx.add_view(|_| {
lsp_log::LspLogToolbarItemView::new(workspace.project().clone())
});
let lsp_log_item =
cx.add_view(|_| lsp_log::LspLogToolbarItemView::new());
toolbar.add_item(lsp_log_item, cx);
})
});