Code complete not working on class functions.


I've just downloaded the demo of PhpStorm afteran incredibly frustrating couple of hours with phpDesigner. I've code some very basic code, and what is concerning is that PhpStorm does not appear to be performing any code complete on it - is this a limitation of a demo?

File 1:

    class TestClass{
        public function GetNumber(){
            return 55;
        public static function GetTestClasses(){
            return array(new TestClass(), new TestClass(), new TestClass());

File 2:



The code executes just fine, however in File 2, after typing $Current-> I could expect GetNumber to appear, yet it doesn't. As I say I'm only running the demo and I'm unsure if this is a limitation, however I would fully expect PhpStorm to be able to evaluate this. The two files are in different directories, although PhpStorm can find the TestClass from File 2 as I can hold CTRL and click 'TestClass' and it will jump right to it.



Please sign in to leave a comment.