This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 132871

Summary: Formatting: Implement support for different code styles
Product: php Reporter: Vitezslav Stejskal <vstejskal>
Component: Formatting & IndentationAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Vitezslav Stejskal 2008-04-15 12:13:46 UTC
The current PHP formatter does not support different code styles like for example Java formatter. We should improve it
and add advanced formatting options for things like curly brackets, empty lines, etc.
Comment 1 khaoz 2008-07-10 12:55:20 UTC
If this is not possible for the moment, some way to use PHP Beautifier (http://pear.php.net/package/PHP_Beautifier) from
NB editor will be nice. :)
Comment 2 Filip Zamboj 2009-05-04 16:51:52 UTC
@tomasz: could you add your opinion or/and close if not valid or implemented already? thanks. 
Comment 3 Tomasz Slota 2009-08-11 12:33:55 UTC
*** Issue 145603 has been marked as a duplicate of this issue. ***
Comment 4 Tomasz Slota 2010-02-04 10:11:45 UTC
ppisl is the new owner of formatting/indentation area
Comment 5 Ondrej Brejla 2012-11-29 11:32:06 UTC
It has been implemeted.