Show error and warning indicators in project panel items (#18182)

Closes #5016

Release Notes:

- Add setting to display error and warning indicators in project panel
items.


https://github.com/user-attachments/assets/8f8031e6-ca47-42bf-a7eb-718eb1067f36

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
This commit is contained in:
Nils Koch 2024-11-12 22:58:59 +01:00 committed by GitHub
parent a7eb3a9b9f
commit 0a9c78a58d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 262 additions and 30 deletions

View file

@ -277,6 +277,7 @@ pub enum IconName {
Terminal,
Trash,
TrashAlt,
Triangle,
TriangleRight,
Undo,
Unpin,
@ -290,6 +291,7 @@ pub enum IconName {
ZedAssistant,
ZedAssistantFilled,
ZedXCopilot,
X,
}
impl From<IconName> for Icon {

View file

@ -2,7 +2,7 @@ use gpui::{Hsla, WindowContext};
use theme::ActiveTheme;
/// Sets a color that has a consistent meaning across all themes.
#[derive(Debug, Default, PartialEq, Copy, Clone)]
#[derive(Debug, Default, Eq, PartialEq, Copy, Clone)]
pub enum Color {
#[default]
/// The default text color. Might be known as "foreground" or "primary" in