| Summary: | Code assist not working on a class variable when invoking a function inside the definition of a user function | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Mauro Molinari <mauromol> |
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | silviya |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
Testing the latest HEAD code, CA works fine with your code. So I guess this has been fixed. You can download the nightly builds from https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/, and have a try. I will see if I can test the nightly build, thank you. Anyway, can you reproduce with PDT 2.2.1? Xu is right,it has been fixed in head Verified in PDT 3.0.0. Thanks. Closing |
Build Identifier: M20100909-0800 In the situation described in the steps to repro, code assist does not work. Reproducible: Always Steps to Reproduce: 1. create a PHP project 2. create MyClass.php and type this into it: <?php class MyClass { public function doSomething() { } } 3. create test.php and type this into it: <?php function test() { $c = new MyClass(); $c->| print_r($c->|) } 4. go to line 5 ($c->|) and try to invoke code completion at "|": code completion does work! 5. go to line 6 (print_r($c->|)) and try to invoke code completion at "|": code completion does not work (no suggestions given)