| Summary: | Code folding does not correctly work with PHPs anonymous functions. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | thepixeldeveloper |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.6 | ||
| Target Milestone: | 2.0 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
I should have updated first as this bug was fixed in that update. |
-- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.php.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY Here's a quick example: class Controller { public function action_login() { Arr::map(function($value) { return trim($value); }, $_POST); } } PDT will stop folding the code at the end of the lambda function. This causes an issue with the code browser too as it thinks class functions defined after are not inside the class.