Answer the question
In order to leave comments, you need to log in
How to turn off subdirectory scanning in PhpStorm when creating a project?
Inside the project is the uploads directory, which contains over 100k files. I can't find a setting when creating a project that would allow it to be excluded before the scan starts.
Answer the question
In order to leave comments, you need to log in
Hmm ... well, for example File / New project from existing sources, there we select either:
1. the first item (at the last step, select [x] Review PHP settings and click next and get to the exclusion functionality),
or
2. the second item (at the last step we fall into the exception function)
option 2
the first - when creating a project, temporarily transfer all files from the project folder, create a project, in the settings, specify to ignore the contents of this directory, return the files.
the second option is more logical. since scanning takes place in the background, you can add this directory to ignore immediately after creating the project.
On the 4th version, when creating a project, in addition to the root-path, exclude-path is also specified
at the time of creating the project, remove the uploads folder outside the main directory, and add an empty uploads folder.
after creation, add it to ignore and return the files back
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question