too long

Project/public/dashboard/bower/jquery/dist/jquery.min.js is full directory but since public will only be available to users I set public directory as "Resource Root" and starts autocompleting in "src" files but obviously not in string for function parameter. I'm using framework which will generate link dynamically so obviously I can't use static links, that's why I'm using base_url function.

Is there anyway I can define anywhere in PhpStorm to take location starting from public folder as root in string as parameter in base_url() function?

<script type="text/javascript" src="<?= base_url('dashboard/bower/jquery/dist/jquery.min.js');?>"></script>

Autocomplete Error

Unfortunately, you can't, there's no way to inject a path reference into a string. Please vote: https://youtrack.jetbrains.com/issue/WI-20028