How to define variables in phpstorm
In my PHP project I'm using static-file server (ex img.domain.com). That server path I have is stored in
$configtable. (
$this->config['file_server']).
During developement static server-file is local server (main root).
Problem is that when using it I don't get path suggestions (ctrl+space) eg:
<img src="<?=$this->config['file_server'];?>image.png">
Can I make phpstorm to interprate
$this->config['file_server']as
"/"sign?
Please sign in to leave a comment.
is there any solution??
Hi there,
You cannot.
(in such case path completion works)On another hand -- it works just fine if leading "/" is actually present, i.e.