[ 
https://issues.apache.org/jira/browse/NETBEANS-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto reassigned NETBEANS-1047:
------------------------------------------

    Assignee: Junichi Yamamoto

> PHP spaces when using Source / Organize Members
> -----------------------------------------------
>
>                 Key: NETBEANS-1047
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1047
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Formatting & Indentation
>    Affects Versions: 9.0
>            Reporter: Alberto Rinaudo
>            Assignee: Junichi Yamamoto
>            Priority: Minor
>
> Hi,
> This thing has been bugging me for a long time.
> I always use "Organize Members" to make my code look clean and readable with 
> 0 effort.
> For php, however, some spaces are put in the wrong place.
> This is how php is formatted when using "OR":
> {code}
> <?php
> $tb = FALSE;
> if ($tb OR ! $tb)
>   ;
> if ($tb OR ( !$tb))
>   ;
> {code}
>  
> this is how it is formatted when using "||":
> {code}
> <?php
> $tb = FALSE;
> if ($tb || !$tb)
>   ;
> if ($tb || (!$tb))
>   ;
> {code}
>  
> As you can see extra spaces are added after "!" and "(" 
>  I always use OR/AND keywords as a habit, I'd love to see this fixed
> Thanks.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to