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 - Formatting: Implement support for different code styles
Summary: Formatting: Implement support for different code styles
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
: 145603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-15 12:13 UTC by Vitezslav Stejskal
Modified: 2012-11-29 11:32 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.