A
A
Alexander Batalov2016-01-23 21:44:07
phpstorm
Alexander Batalov, 2016-01-23 21:44:07

Phpstorm and Include path how to ignore js files?

When you specify directories in the Include path in Phpstorm, js files that are found in directories with third-party libraries (cms files, for example) are also indexed along with php files. As a result, autocomplete for js shows a bunch of everything that is not used in the project.
bac66d12827b4e469d84827e6caf1140.png
How can I make it so that only php files get into the Include path?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Pts, 2016-01-23
@AlexPTS

I'm not exactly sure, but perhaps in the settings in Project -> Directories, try to mark vendor and unnecessary folders as 'Excluded'. There are also 'Scopes' settings for organizing the project code, but it does not seem to affect indexing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question