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 134669 - Sample sources are not formatted
Summary: Sample sources are not formatted
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2008-05-07 14:33 UTC by Mikhail Matveev
Modified: 2011-02-10 16:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Matveev 2008-05-07 14:33:11 UTC
1. Create AirAlliance sample.
2. Open some PHP source.
3. Right click in editor -> Format.
Result: code is changed.

It seems logical that sample code should be already formatted.
Comment 1 Tomasz Slota 2008-05-30 12:55:12 UTC
Agreed :-) It should be trivial to implement except in case the user has customized formatting options - see issue 55509. I guess it is OK to ignore such a 
case though.
Comment 2 Mikhail Matveev 2008-11-18 19:50:08 UTC
This is still valid. Could you please fix it, ignoring 55509 request.
Comment 3 Filip Zamboj 2009-10-14 16:46:57 UTC
this is still valid and it is SIMPLEFIX, is there something going on? I don't see any activity for one year now! 
Comment 4 Tomasz Slota 2010-02-04 10:11:46 UTC
ppisl is the new owner of formatting/indentation area
Comment 5 Filip Zamboj 2010-03-02 08:57:27 UTC
@ppisl: If you agree I will "preformat" all sample files according to default formatter settings. I don't really think it makes sense to format according to users personal settings. You will get rid of this issue this way. OK?
Comment 6 Petr Pisl 2010-03-30 16:13:56 UTC
I agree. Thanks Filip
Comment 7 Petr Pisl 2010-04-12 11:25:47 UTC
reassigning to Filip. :)
Comment 8 Quality Engineering 2010-04-21 04:38:32 UTC
Integrated into 'main-golden', will be available in build *201004210200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f0d0678d1354
User: Filip Zamboj <fzamboj@netbeans.org>
Log: #134669 - sample sources are not formatted; php+html files couldn't be formatted yet because of unresolved issues
Comment 9 Petr Pisl 2011-02-10 16:42:29 UTC
Fixed some time ago, not marked as fixed.