Re: Show .gitignore-d files

[email protected] Tue, 11 Jun 2024 13:13:11 +0200
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
On 2024-06-11 11:30, Giovanni Santini wrote:
> Hi everyone,
> 
> My main and only issue with Kate that prevents me from switching to it 
> is that files that are ignored from Git via .gitignore do not appear in 
> the Project tab.
> 
> I would like to offer a patch where the files are visible but greyed 
> out instead.
> 
> Can anyone point me to the source file responsible for showing or not 
> the files? That would speed the process.
> 
> Thanks in advance,

Hi,

the collections happens inside kate/addons/project/kateprojectworker.cpp

I am not sure how to add that best.
To make that greyed out will require to invent an additional role and
one will need to think what that implies e.g. for the search plugin that
queries all project files. Shall they be omitted there? I would assume 
so.

Greetings
Christoph