SUMMARY It would be great to see at a glance which files were modified or are untracked in git in the projects file browser. It could be a different color for the text or an icon to the right side.
I'm using the following plugins (as mentioned in your other feature request) Project plugin (commit / status / branch compare / stashing / file history) Documents Plugin (file history) Git blame (git blame support) Have you tried those? It seems that they will do what you need. For details https://kate-editor.org/post/2023/2023-02-01-using-kate-git-support/ If I go to the Git icon in the sidebar, I see categories for Staged, Modified, Untracked Does this work for you?
Created attachment 171554 [details] Example from VSCode
Hi, yes I use commit/staging widget but what I meant was inside the file browser (the one that comes with the projects plugin). Maybe it has a different name? The tooltip only says "Projects". I attached a screenshot from VSCode to clarify: https://bugs.kde.org/attachment.cgi?id=171554 Note the M on a modified file and U on a new one (and the different colors)
Thank you for clarifying.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1632
Git commit c81ca8167bfda2e4418a05191ddc4e19033dbeb3 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 24/10/2024 at 19:17. Pushed by cullmann into branch 'master'. Show git status with file name in project tree Files in project tree view now show their status in git. The existing git status data is reused for this. I had to make the git widget a bit less lazy to make this work correctly. The status is shown minimally i.e., a small circle is drawn in front of the file name. If the file is modified the circle is red, if the file is staged its green. The parent folders of the said file show the circle in front of their name as well. I haven't included Untracked files yet as it might slow things down, but we'll see. Perhaps it makes sense to add Untracked files too. M +1 -1 addons/project/git/gitstatus.cpp M +1 -0 addons/project/git/gitstatus.h M +29 -14 addons/project/gitwidget.cpp M +15 -11 addons/project/gitwidget.h M +60 -0 addons/project/kateproject.cpp M +16 -0 addons/project/kateproject.h M +1 -1 addons/project/kateprojectpluginview.cpp M +5 -5 addons/project/kateprojectpluginview.h M +59 -0 addons/project/kateprojectviewtree.cpp https://invent.kde.org/utilities/kate/-/commit/c81ca8167bfda2e4418a05191ddc4e19033dbeb3