| Summary: | Generate comment action generates wrong result when then cursor is inside parameter list of funciton | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Q.S. Wang <qiangsheng.w> |
| Component: | PDT | Assignee: | Q.S. Wang <qiangsheng.w> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gadi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
If the current element is a parameter, generating the comment for the parent method. Verified fixed. Kalin Yanev kalin.a@zend.com |
public function foo(stdClass $a) {} 1. Place the cursor after the opening "(" of the parameters list of the method definition 2. Trigger the Generate Element Comment - the phpDoc of the method is written where the cursor is and not on top of the method The generated comment is wrong. public function foo(/** * @var unknown_type */ stdClass $a) {}