Stop showing diagnostics in the diff-related editors (#33285)

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/a63925a7-8e13-4d48-bd31-33f434209ea6"
/>

Diagnostics UI elements (underlines, popovers, hovers) are quite noisy
by themselves and get even more so with the git background colors.

Release Notes:

- Stopped showing diagnostics in the diff-related editors
This commit is contained in:
Kirill Bulatov
2025-06-24 01:35:08 +00:00
committed by GitHub
parent 2283ec5de2
commit 21f985a018
3 changed files with 28 additions and 7 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ impl ProjectDiff {
let editor = cx.new(|cx| {
let mut diff_display_editor =
Editor::for_multibuffer(multibuffer.clone(), Some(project.clone()), window, cx);
diff_display_editor.disable_inline_diagnostics();
diff_display_editor.disable_diagnostics(cx);
diff_display_editor.set_expand_all_diff_hunks(cx);
diff_display_editor.register_addon(GitPanelAddon {
workspace: workspace.downgrade(),