[ phpeclipse-Bugs-1577048 ] Formatting options for opening brace are deficient for PEAR

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1577048, was opened at 2006-10-14 14:03
Message generated for change (Settings changed) made by p00ya
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1577048&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: 3
Submitted By: Dean Scarff (p00ya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Formatting options for opening brace are deficient for PEAR

Initial Comment:
PEAR conventions require different treatment of 
opening braces depending on whether they are for a 
control structure or for a class/function block.

See: http://pear.php.net/manual/en/standards.sample.php

The available options in Window>Preferences>PHPeclipse 
Web Development>PHP>Formatter don't seem to allow this:

* insert a new line before an opening brace:
if on correct for class/function, but it breaks 
control structures.
if off, correct for control structures but breaks 
class/function.

I think the best resolution would allow the user to 
choose newline before opening brace for class blocks, 
function blocks and control structures separately.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1577048&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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.