Add deleted color to project panel#51553
Conversation
|
Is it possible to disable that? Because when I update the dependencies in my project it deletes and adds the updated packages in my .yarn folder so I don't really need the folder to be red then. |
|
@mkjed If I understand correctly, this should only reflect the git non-ignored files, right? Do you commit your .yarn folder? If so, this works as expected then. |
I would like to disable it completely in the project panel. |
|
You can do that by adding .yarn to .gitignore. |
|
This is not a good solution. It's not only that it's the .yarn folder, it's just in general that the red folders are, for me personally, very distracting, especially in light mode when there are red folders yelling at me. I think a setting for this could be useful. |
|
@mkjed Can you file an issue? I don't know if adding a setting is reasonable unless other people (and Zed team) agree. Re: "personally, very distracting" I respect your feedback but your experience isn't necessarily everyone else's experience. But if you really need the setting, feel free to make a PR. Someone will take a look. I will not make a PR upon only your request. Also, I'm not a Zed maintainer. |
When a file is deleted, the parent folder isn't colored which makes it hard to know unless we look at the Git Panel.
This PR adds
Color::Deletedto fix that.Release Notes: