I downloaded the last 10 version of PHPStorm, created a PHP project, added files from an existing site to it, set up an automatic deployment, updated, indexed - everything is fine! BUT in a barrel of honey turned out to be a fly in the ointment, namely, after opening a php file template, the IDE automatically changes the path, adding to it /www/ in the beginning
It was:
<script type="text/javascript" src="/common/js/error_report.js"></script> Opened in the editor, it became :
<script type="text/javascript" src="/www/common/js/error_report.js"></script> Strukruta project:cli - scripts, off sitewww - site
Depla configured:/var/www/cli → /cli/var/www/html/www.site.ru/ → /www
Those. the very "smart" IDE automatically considers it its sacred duty, without asking me (!) to take and change the path to the static in the template, and then I open the site and nothing works. Very wise. Where it is configured, all the settings have already been dug up, methyl folders as resources, the result is the same - after opening the IDE file, it changes the paths to the files, believing that they must begin with /www/ , but suddenly my url rewrite is set up or something else then why take this and think for me?