Re: Show .gitignore-d files

Waqar Ahmed <[email protected]> Wed, 12 Jun 2024 13:09:29 +0300
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAPesRH4XWu79jUqMr=1gmHj3KyJZ58NABf4CtDRS9qGy420Ftw@mail.gmail.com>
--000000000000a8d271061aae9453
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This option is already available. Just disable autoloading of git repos in
settings. Then open the folder with kate e.g kate /path/to/project

Alternatively use a .kateproject file

On Tue, Jun 11, 2024, 4:12=E2=80=AFPM <[email protected]> wrote:

> On 2024-06-11 14:44, Giovanni Santini wrote:
> > Hi Christoph,
> >
> > On 2024-06-11 13:13, [email protected] wrote:
> >> Hi,
> >>
> >> the collections happens inside
> >> kate/addons/project/kateprojectworker.cpp
> >>
> > Thanks for pointing out the location, I am thus able to replicate the
> > files listing from the terminal.
> >> 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
> >
> > As of today the list of files is a list of strings shown from the
> > plugin.
> >
> > I am thinking that a toggle option for showing Git ignored files could
> > be an easy way forward,
> >
> > since otherwise we would have to change from a list of string to some
> > sort of string with additional metadata,
> >
> > which would be useful for Git but I am not sure for the other VCS
> > systems.
>
> I think such an option would be the least intrusive way, yes.
>
> Greetings
> Christoph
>
>

--000000000000a8d271061aae9453
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>This option is already available. Just disable autol=
oading of git repos in settings. Then open the folder with kate e.g kate /p=
ath/to/project</div><div dir=3D"auto"><br></div><div dir=3D"auto">Alternati=
vely use a .kateproject file<br><br><div class=3D"gmail_quote" dir=3D"auto"=
><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Jun 11, 2024, 4:12=E2=80=AFP=
M  &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 2024-06-11 14:44, Giov=
anni Santini wrote:<br>
&gt; Hi Christoph,<br>
&gt; <br>
&gt; On 2024-06-11 13:13, <a href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]</a> wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt; <br>
&gt;&gt; the collections happens inside <br>
&gt;&gt; kate/addons/project/kateprojectworker.cpp<br>
&gt;&gt; <br>
&gt; Thanks for pointing out the location, I am thus able to replicate the =
<br>
&gt; files listing from the terminal.<br>
&gt;&gt; I am not sure how to add that best.<br>
&gt;&gt; To make that greyed out will require to invent an additional role =
and<br>
&gt;&gt; one will need to think what that implies e.g. for the search plugi=
n <br>
&gt;&gt; that<br>
&gt;&gt; queries all project files. Shall they be omitted there? I would as=
sume <br>
&gt;&gt; so.<br>
&gt;&gt; <br>
&gt;&gt; Greetings<br>
&gt;&gt; Christoph<br>
&gt; <br>
&gt; As of today the list of files is a list of strings shown from the <br>
&gt; plugin.<br>
&gt; <br>
&gt; I am thinking that a toggle option for showing Git ignored files could=
 <br>
&gt; be an easy way forward,<br>
&gt; <br>
&gt; since otherwise we would have to change from a list of string to some =
<br>
&gt; sort of string with additional metadata,<br>
&gt; <br>
&gt; which would be useful for Git but I am not sure for the other VCS <br>
&gt; systems.<br>
<br>
I think such an option would be the least intrusive way, yes.<br>
<br>
Greetings<br>
Christoph<br>
<br>
</blockquote></div></div></div>

--000000000000a8d271061aae9453--