M
M
Michael2017-05-22 16:45:34
phpstorm
Michael, 2017-05-22 16:45:34

How to specify a project folder as a search source in PHPStorm?

In PHPStorm, after clicking on the name of a method, you can navigate to the method. Sometimes the system asks ( Choose declaration ) which file is needed. This happens when 2 projects are open in which there are 2 identical classes (for example, from vendor). How to "tell" phpstorm to forget about other projects and look only in the sources of the current project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xucixe, 2017-05-22
@xucixe

you can exclude vendor from the project:
RMB -> mark directory as -> excluded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question