B
B
Bogdan Pasechnik2012-06-11 13:46:10
PHP
Bogdan Pasechnik, 2012-06-11 13:46:10

How to quickly find classes added via the include path of libraries?

In PhpStorm, via File->Settings->PHP
, in the include path field, I add the address to the library (I use the yii framework). In version 3.x.x I could press ctrl+n and start typing a class name (eg CCaptcha) and the IDE would immediately show it in a drop down list and I could open that file. Now it says that nothing was found. Thus, it finds only the classes/files of the project itself. But if I write new CCaptcha;then through ctrl + left click on the name I go to this file. It turns out that the IDE still sees the library, but does not display its classes via ctrl+n. Please tell me how to solve the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2012-06-11
@taral

I pull up both what lies in the include_path php.ini, and what is added to the Include Path of the project through File->Settings->PHP.
Try reindexing the project (File->Invalidate Caches...).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question