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:
parent
2283ec5de2
commit
21f985a018
3 changed files with 28 additions and 7 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue