No code assist completion of variables initialized in included files
I've got this configfile.php meant to be included in other php files which initializes several configuration variables (like $mysql_host, $mysql_user, etc.). But when I am working in any of those files which include it, code assist won't complete those variables for me while typing.
What could I be doing wrong?
TIA
Mario
Please sign in to leave a comment.
Not sure. Should work sice 1.0 assuming these are file-level variables.
Please provide more details.
Having the same problem as me?
http://devnet.jetbrains.net/thread/381972?tstart=0
Using PhpStorm 2.1.5 here (Ubuntu 10.10).
Installed Java packages:
ii sun-java6-bin 6.21dlj-0ubuntu1~maverick1~ppa1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
ii sun-java6-jdk 6.21dlj-0ubuntu1~maverick1~ppa1 Sun Java(TM) Development Kit (JDK) 6
ii sun-java6-jre 6.21dlj-0ubuntu1~maverick1~ppa1 Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
I have this file:
config.inc.php:
<?php
$myHost = "mysql.yadda.com";
$myDbUser = "yaddauser";
$myDbPass = "yaddapass";
?>
And when included in other PHP files, these variables won't show up in code assist (see image).
Attachment(s):
Pantallazo.png