You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/02/21 04:31:38 UTC

[GitHub] [netbeans] Eugene-Melbourne opened a new issue #3652: PHP code formatting (ctrl+shift-f)

Eugene-Melbourne opened a new issue #3652:
URL: https://github.com/apache/netbeans/issues/3652


   ### Apache NetBeans version
   
   Apache NetBeans 12.6
   
   ### What happened
   
   I use PHP, it is very popular this days to use chaining like that
   
   `$productPriceValidator
       ->setProductPrice($price)
       ->validate();
   `
   It should be formatted like in example above, and it was formatted this way  in Product Version: NetBeans IDE Dev (Build 201804200002)
   
   But in new NetBeans Product Version: Apache NetBeans IDE 12.6.
   The formatter making every second line starts with the line of the initial one like this 
   
   `$productPriceValidator
   ->setProductPrice($price)
   ->validate();
   `
   
   Which is not correct and not helping in making the code readable.
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.3 or earlier
   
   ### Operating System
   
   Windowns 10
   
   ### JDK
   
   Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] KacerCZ commented on issue #3652: PHP code formatting (ctrl+shift-f)

Posted by GitBox <gi...@apache.org>.
KacerCZ commented on issue #3652:
URL: https://github.com/apache/netbeans/issues/3652#issuecomment-1048026259


   Please check your formatting settings under Language PHP > Tabs And Indents > Continuation Indentation. If I set Continuation Indentation to 0 then I get the same format as you report.
   It can be in global NetBeans settings or in project specific settings.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] KacerCZ closed issue #3652: PHP code formatting (ctrl+shift-f)

Posted by GitBox <gi...@apache.org>.
KacerCZ closed issue #3652:
URL: https://github.com/apache/netbeans/issues/3652


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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