2020.3 syntax check / code inspection in vendor directory not working

Hey all,

 

after updating from PhpStorm 2020.2 to 2020.3, PhpStorm doesn't check PHP code (for example - checking for an undefined class) in some files in the vendor directory.

 

Those files are NOT marked as excluded.

 

Deleting index and caches does NOT solve the issue.

Marking files as excluded and included again does NOT solve the issue.

Deleting the .idea folder and recreating the project (from existing files) does NOT solve the issue.

 

Downgrading to 2020.2 immediately solves the issue without any other changes.

2
3 comments

Hi there,

Please show a screenshot of the whole IDE window with such file opened (ideally using Default/IntelliJ Light theme -- I'm more familiar with it and used colors often give you certain hints).

Right now it sounds like file is treated as excluded or alike (e.g. read only) and you are in a Reader mode. If it's actually Reader mode then just configure it .. or disable completely.

1
Avatar
Permanently deleted user

Have the same issue, directory is not excluded and it is not on the read mode. Any solutions? 

2

@Igorskubiy 

Please provide screenshots (as per my initial comment: how IDE looks when the file is opened, what "View | Quick Documentation" shows for that file etc) -- maybe it will give some visual hints.

 

1

Please sign in to leave a comment.