This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 201107190600) Operating System = Linux version 2.6.38-10-generic running on amd64 Java; VM; Vendor = 1.6.0_22 Runtime = OpenJDK 64-Bit Server VM 20.0-b11 To reproduce: Create method having no spaces before and assignment operator: public function getListing($keyword="", $limit=0, $start=0) { ... } Select method. Hit alt + shift + f Expected result: Spaces added before and after assignment operator. Method definition is chanted to: public function getListing($keyword = "", $limit = 0, $start = 0) { ... } Actual result: Spaces before and after assignment operator are not added
Fixed in web-main http://hg.netbeans.org/web-main/rev/d3a8932da1a2
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d3a8932da1a2 User: Petr Pisl <ppisl@netbeans.org> Log: #200281 - Spaces before and after assignment operator in method definition not added