| Summary: |
"Completion Overrides" does not override the parameters of a method |
| Product: |
z_Archived
|
Reporter: |
Sylvia Tancheva <silviya> |
| Component: |
PDT | Assignee: |
Zhongwei Zhao <zhaozhongwei> |
| Status: |
CLOSED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
P1
|
CC: |
ganoro, ilina.s, qiangsheng.w, silviya
|
| Version: |
unspecified | Flags: |
zhaozhongwei:
review?
(ganoro) zhaozhongwei:
review?
zhaozhongwei:
review?
(zhaozhongwei)
|
| Target Milestone: |
--- | |
|
| Hardware: |
PC | |
|
| OS: |
Windows XP | |
|
| Whiteboard: |
|
| Attachments: |
| Description |
Flags |
|
patch
|
none
|
|
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.