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.
Summary: | PSR autoformatting | ||
---|---|---|---|
Product: | php | Reporter: | danno_blammo |
Component: | Formatting & Indentation | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | rob006 |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
danno_blammo
2013-08-20 13:42:38 UTC
PSR-0 and 1 will be handled by Hints (code warnings) in NB 8.0. It's almost impossible to handle that by formatting (because if you affect some public elements you have to use refactoring...). Formatting should be used for PSR-2. At least for some parts. Have a look at https://github.com/maniaplanet/netbeans-psr which claims to adjust NetBeans settings to PSR-1 and PSR-2. It would be cool if the default formatting for Netbeans could be aligned to the PSR-1 and PSR-2 guidelines. Then there wouldn't be the need for things like https://github.com/bobsta63/netbeans-psr-formatting Amy update on this 3.5 year old feature request? |