indexing issue after modifying folder structure in PhpStorm

Hi,

I have a problem with indexing in PhpStorm :

 

I have recently modified the structure of my folders.

They were like this before modification :

- myApp

    -src

    -vendor

    -tests

    -index.php

    -composer.json

    -...

 

Now, the new structure :

-myApp

    -index.html

    -myApp

        -src

        -vendor

        -tests

        -index.php

        -composer.json

        -...

 

Now, with the new folder structure, Phpstorm doesn't recognize vendor modules in the indexing. There was no problem before.

The app works correctly but the IDE doesn't recognize namespaces, classes, functions, etc. from the vendor files.

There are no problem with the app's namespaces, classes, functions, etc.

Here is a screenshot :

Theses classes exist in the vendor file, the app works well with them, but PspStorm doesn't find them.

I've tried invalidate caches/restart but with no success.

How can I fix that?

2 comments
Comment actions Permalink

Perhaps you have those folders excluded at Settings/Preferences | Directories?

0
Comment actions Permalink

Eugene Morozov, you're right.

 

Thank you!

0

Please sign in to leave a comment.