3

Is there anyway with PhpStorm to configure it so it can look at Symfony2 source code without it being in my active project.

The reason I ask is I've set up my project in the recommended way, and so my repository only has my own code (not the Symfony2 code). Due to this setup, PhpStorm can't autocomplete any of the Symfony stuff because it doesn't know where the code is.

Any ideas?

1 Answer 1

6

Go to Settings -> PHP -> (include path) -> Select the directory on your filesystem.

It will be included in your "External Libraries" in your project window.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.