Q
Q
Qraxin2017-05-16 12:42:18
IDE
Qraxin, 2017-05-16 12:42:18

Why does PhpStorm give "Cannot find declaration to go to" in 1C-Bitrix projects located in www subdirectories?

Working in PhpStrom with projects on Bitrix , I noticed that in some projects I can fall into the name of the plug-in component or template (Navigate->Declaration), and in some projects I can’t do this, it gives out " Cannot find declaration to go to ".
f320ab6c47f342cfa3cf8009e10588ee.jpgf395a6b6252641bf9a35866020099dc4.jpg
For a long time I could not understand why this is happening, and today I figured it out: If the site files are in the project, in the www
subdirectory , then it does not find the path to the components / templates, but if the files are located directly in the root, then everything works successfully. How to make PhpStorm work adequately with a project in www subdirectories ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question