Code Style
Is there any way when i format my code the if, switch, foreach looks like
if( )
{
# code
}
foreach( )
{
#code
}
switch( )
{
#code
}
at this moment when i format it looks like bellow but i don't like my code this way
if( ) {
# code
}
foreach( ) {
#code
}
switch( ){
#code
}
or atleast add a empty line so code does not look all together
if( ) {
# code
}
foreach( ) {
#code
}
switch( ){
#code
}
请先登录再写评论。
Hi there,

Have you tried this?
Settings (Preferences on Mac) | Code Style | PHP | Wrapping and Braces | Braces placement | Other --> Next Line
Thank you that worked :)
Before you go to the dentist, you should first make sure that you have enough money with you. Try and get to the dentist at least one time a year, though it is suggested that you go every six months. This will help you keep away from any serious difficulties with cavities. You might need installment payday cash advances to help pay for a serious surgery, such as a root canal. It is easier to just get regular checkups to start with.