[ phpeclipse-Bugs-1605563 ] inconsistent PHP formatting with ESC, CTRL-F

"SourceForge.net" <[email protected]> Wed, 29 Nov 2006 12:21:21 -0800
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1605563, was opened at 2006-11-29 15:21
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=1605563&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
Private: No
Submitted By: Nick Boldt (nickboldt)
Assigned to: Nobody/Anonymous (nobody)
Summary: inconsistent PHP formatting with ESC,CTRL-F

Initial Comment:
Using phpeclipse 1.1.9.CVS-20060920, I get inconsistent behaviour when using ESC,CTRL-F to reformat my code.

Some methods are changed from

isset($something)

to

isset ($something)

while others are NOT changed. Same is true for array() and array (), plus other cases I'm sure.

I'll attach a patch file showing what's changed before and after reformatting.

The original script can be seen here:

http://dev.eclipse.org/viewcvs/index.cgi/www/modeling/includes/relnotes-common.php?rev=1.8&cvsroot=Eclipse_Website&content-type=text/vnd.viewcvs-markup

and the patch shows what's required to UNDO the formatting changes.

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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV