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 187727

Summary: PHP Formatting : new line doesn't works on Linux.
Product: php Reporter: evoilliot
Component: Formatting & IndentationAssignee: Petr Pisl <ppisl>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description evoilliot 2010-06-17 12:56:20 UTC
The PHP formatter doesn't respect "new line" parameter, whereas under windows xp, it works with the same configuration. :

Formatting
Language : PHP
Category : alignment > New lines for all four checkboxes

and

Category :  braces > all are setted to "new line"

The preview is right, but in editor, braces stay on the same line.

Many thanks.
Etienne
----------------
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Linux version 2.6.32-22-generic running on i386 / Ubuntu 10.04 LTS
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
Comment 1 Petr Pisl 2010-06-18 09:44:35 UTC
It works for me as expected. Could you attach the file, where it doesn't work? Does the file have an error?
Comment 2 Petr Pisl 2011-07-08 10:34:43 UTC
I'm closing as works for me. Please reopen if you run in it again and attach the example. Thanks.