Created attachment 175594 [details] quick open lists all package.json files inside node_modules folder SUMMARY I have created .kateproject file with the following content but "exclude_patterns": [ "^node_modules" ] does not work. Without being able to exclude node_module folder, using quick open (ctrl+shift+o) is useless as thousands of files are listed. My .kateproject file content is as follows: ``` { "exclude_patterns": ["^node_modules"] } ``` OBSERVED RESULT include node_modules EXPECTED RESULT exclude node_modules SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0
You need a better regex. See the base path (in front of package.json): Projects/remix/remix-start/node_modules The "^node_modules" will match only if "node_module" was at the top of your project i.e., "node_modules/package.json. Probably just { "exclude_patterns": ["Projects/remix/remix\-start/node_modules"] } will work
(In reply to Waqar Ahmed from comment #1) > You need a better regex. See the base path (in front of package.json): > > Projects/remix/remix-start/node_modules > > The "^node_modules" will match only if "node_module" was at the top of your > project i.e., "node_modules/package.json. Probably just > > { > "exclude_patterns": ["Projects/remix/remix\-start/node_modules"] > } > > will work It did not work. I also tested "*node_modules*" and it did not work.