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 <<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> > Hi Christoph,<br> > <br> > On 2024-06-11 13:13, <a href=3D"mailto:[email protected]" target= =3D"_blank" rel=3D"noreferrer">[email protected]</a> wrote:<br> >> Hi,<br> >> <br> >> the collections happens inside <br> >> kate/addons/project/kateprojectworker.cpp<br> >> <br> > Thanks for pointing out the location, I am thus able to replicate the = <br> > files listing from the terminal.<br> >> I am not sure how to add that best.<br> >> To make that greyed out will require to invent an additional role = and<br> >> one will need to think what that implies e.g. for the search plugi= n <br> >> that<br> >> queries all project files. Shall they be omitted there? I would as= sume <br> >> so.<br> >> <br> >> Greetings<br> >> Christoph<br> > <br> > As of today the list of files is a list of strings shown from the <br> > plugin.<br> > <br> > I am thinking that a toggle option for showing Git ignored files could= <br> > be an easy way forward,<br> > <br> > since otherwise we would have to change from a list of string to some = <br> > sort of string with additional metadata,<br> > <br> > which would be useful for Git but I am not sure for the other VCS <br> > 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--