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.

Bug 200281 - Spaces before and after assignment operator in method definition not added
Summary: Spaces before and after assignment operator in method definition not added
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 10:06 UTC by schkovich
Modified: 2011-09-15 14:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schkovich 2011-07-21 10:06:52 UTC
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
Comment 1 Petr Pisl 2011-09-14 17:10:22 UTC
Fixed in web-main
http://hg.netbeans.org/web-main/rev/d3a8932da1a2
Comment 2 Quality Engineering 2011-09-15 14:17:52 UTC
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