logo       

[ phpeclipse-Bugs-1475484 ] code formatter with function calls in array(): msg#00057

ide.eclipse.phpeclipse.devel

Subject: [ phpeclipse-Bugs-1475484 ] code formatter with function calls in array()

Bugs item #1475484, was opened at 2006-04-24 14:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1475484&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michel D'HOOGE (mdhooge)
Assigned to: Nobody/Anonymous (nobody)
Summary: code formatter with function calls in array()

Initial Comment:
When I ask to reformat the following expression:
$example = array(substr('abcdef', 2), substr('zyxw',
2));

I get this result:
$example = array (
substr('abcdef',
2
), substr('zyxw', 2));

While I would expect this one:
$example = array (
substr('abcdef', 2),
substr('zyxw', 2)
);

Analysis: The code formatter ignores opening
parentheses when looking for commas. And the first
closing parenthese is used to close the array.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1475484&group_id=57621


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise