From 54c6d482b6b926279422757c279e8f21e92f00c9 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 13 May 2025 10:09:38 +0200 Subject: [PATCH] Remove the minimap from the debugger console (#30610) Follow-up of https://github.com/zed-industries/zed/pull/26893 Release Notes: - N/A --- crates/debugger_ui/src/session/running/console.rs | 1 + crates/lsp/src/lsp.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/debugger_ui/src/session/running/console.rs b/crates/debugger_ui/src/session/running/console.rs index 7550dcb256..a4bb75f478 100644 --- a/crates/debugger_ui/src/session/running/console.rs +++ b/crates/debugger_ui/src/session/running/console.rs @@ -45,6 +45,7 @@ impl Console { let mut editor = Editor::multi_line(window, cx); editor.move_to_end(&editor::actions::MoveToEnd, window, cx); editor.set_read_only(true); + editor.disable_scrollbars_and_minimap(window, cx); editor.set_show_gutter(false, cx); editor.set_show_runnables(false, cx); editor.set_show_breakpoints(false, cx); diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs index 2c54066a51..4558549092 100644 --- a/crates/lsp/src/lsp.rs +++ b/crates/lsp/src/lsp.rs @@ -1131,8 +1131,6 @@ impl LanguageServer { where T::Result: 'static + Send, T: request::Request, - // TODO kb - // ::Result: ConnectionResult, { let id = next_id.fetch_add(1, SeqCst); let message = serde_json::to_string(&Request {