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: | Formatter does not track parentheses correctly for line wrapping. | ||
---|---|---|---|
Product: | php | Reporter: | pbw <pbw> |
Component: | Formatting & Indentation | Assignee: | Ondrej Brejla <obrejla> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 7.4 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Source code indentiation screenshot
Multiline Alignment>Method Call Arguments set off. Multiline Alignment>Method Call Arguments set on. |
Description
pbw
2013-10-25 05:25:06 UTC
Created attachment 141545 [details] Source code indentiation screenshot Sorry it is working correctly in dev build for me. Whe I use Format - everything is formatted in one line. If I have Line wraping on, it is working correctly. Finally, if I manually type in your code, and hit enter to continue on new line, indentiation is working correctly (see screenshot). Please try it in latest dev build [1] and if it is still not working, add exact steps to reproduce and simply reopen. Thank you. [1] http://bits.netbeans.org/dev/nightly/ Product Version: NetBeans IDE Dev (Build 201310250001) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) Do I have to install the whole dev build, or can I add the php component into the existing 7.4 distribution? Created attachment 141558 [details]
Multiline Alignment>Method Call Arguments set off.
Multiline method call arguments off.
Created attachment 141559 [details]
Multiline Alignment>Method Call Arguments set on.
Multiline Alignment>Method Call Arguments set on.
Try it with Formatting> PHP> Alignment Multiline Alignment>Method Call Arguments set on. |