Community
Participate
Working Groups
Sample code: <?php class A { /** * Enter description here ... * @param String $a * @param boolean $b */ function bla($a,$b){} /** * Enter description here ... * @param String $c * @param boolean $d */ function kla($c,$d){} function usage() { $this->bla('haha', true); } } 1. Turn on Completion Overrides (Preferences -> PHP -> Editor -> Content Assist) 2. In method usage() put the cursor after $this-> and invoke Content Assist 3. From the list choose kla() Expected: $this->kla($c, $d); Actual: $this->kla($c, $d)('haha', true); -> parameters from previous method remain.
after discuss with Roy,we decide to align with the JDT behavior. expected: $this->kla('haha', true); fixed in head and branch
still reproducible!!
Created attachment 178024 [details] patch
let's commit to head and not to branch as this is not critical thanks!
fixed by Zhao!
After retesting with Studio 9 #179 on Win XP, 32 bit the result is: $this->kla('haha', true); Closing. Ilina Stefanova