Re: "exclude_patterns" does not work

Waqar Ahmed <[email protected]> Sun, 24 Nov 2024 00:22:44 +0500
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAPesRH7C1_soFJ8zaV28KJ6s8cOFegcdTvWuS4wM-q9evS6=VQ@mail.gmail.com>
also share the contents of the project file.

if it lives here: /home/projects/remix/remix-start/.kateproject and
your node_modules are in /home/projects/remix/remix-start/node_modules

then

["^node_modules"] or ["node_modules"] should be enough

paths are relative usually, so a file like:

/home/projects/remix/remix-start/folder1/file1.js

will be converted to:

folder1/file1.js

and then regex will be matched against this file


On Sun, Nov 24, 2024 at 12:16=E2=80=AFAM Waqar Ahmed <[email protected]> =
wrote:
>
> which folder contains the .kateproject file?
>
> On Sun, Nov 24, 2024 at 12:02=E2=80=AFAM m.madadi <[email protected]=
> wrote:
> >
> > Hi,
> > My project folder structure is as follows:
> > /home/projects/remix/remix-start/
> >
> > The value ["^projects/remix/remix\\-start/node_modules", "^remix\\-star=
t/node_modules","*node_moduls*"] for exlude_patterns does not work and I th=
e folder node_modules still is listed in quick open dialog.
> > Please help.
> > Thanks