Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Small code formatting question
Small code formatting question [message #66178] Mon, 18 February 2008 17:02 Go to next message
Eclipse UserFriend
Originally posted by: earino.gmail.com

Greetings!

The coding standards at my employer require me to use "uncuddled elses".
I am unable to figure out how to get the "auto formatting" to uncuddle
elses in Eclipse PDT. As an example:

if (foo) {
dingle();
}
else {
dangle();
}

is the desired output of the "format code" transformation. Any thoughts?

Eduardo
Re: Small code formatting question [message #66199 is a reply to message #66178] Tue, 19 February 2008 18:04 Go to previous message
Eclipse UserFriend
Originally posted by: tatsudoshi.criion.net

I have no answer so sorry for replying, but how in gods name can you
code without using {}? I mean .. only being able to make single line
statements is .. impossible?
Previous Topic:No PHP Compile Errors in eclipse PDT
Next Topic:Code Assist (suggests)
Goto Forum:
  


Current Time: Thu Apr 18 10:00:55 GMT 2024

Powered by FUDForum. Page generated in 0.01507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top