L
L
Lisio2012-06-25 22:31:32
PHP
Lisio, 2012-06-25 22:31:32

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

5 answer(s)
D
denver, 2012-06-25
@denver

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)

M
Mikhail Osher, 2012-06-26
@miraage

IDE Settings > File Types > Ignore files and folders (bottom)

S
Sergey, 2012-06-25
Protko @Fesor

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.

K
Konstantin, 2012-07-05
@bergsteiger

On the 4th version, when creating a project, in addition to the root-path, exclude-path is also specified

V
Vladimir Luchaninov, 2012-07-06
@how

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 question

Ask a Question

731 491 924 answers to any question