Hey guys,
I was just wondering whether it is possible to somehow tell PhpStorm what
{$basePath} macro is, or just give him the local path to substitute macro for.
It causes me trouble, because everytime i wanna move or delete js, css,…
files it cannot check the project for usages and replace paths or just warn me
before deleting.
Mark WWW directory as Resource root (purple color) in PHPStorm, {$basePath}
isn't macro, $basePath is just a PHP variable, nothing more. With this easy
setting will $basePath always point to WWW directory, which will be set as
resource root and links to your .css / .js files will work as expected.
Mark WWW directory as Resource root (purple color) in PHPStorm, {$basePath}
isn't macro, $basePath is just a PHP variable, nothing more. With this easy
setting will $basePath always point to WWW directory, which will be set as
resource root and links to your .css / .js files will work as expected.