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 172123

Summary: try catch code formatting
Product: php Reporter: jlindenbaum <jlindenbaum>
Component: Formatting & IndentationAssignee: Tomasz Slota <tslota>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Try / Catch statement correctly formatted
try / catch statement after formatting operation is run

Description jlindenbaum 2009-09-14 03:41:33 UTC
In a script that is using try / catch statements code formatting with CTRL/ALT + SHIFT + F breaks the script quite intensely. Reproduced on XP SP 3 and OS X 
10.5.5 and 10.5.6 using NetBeans 6.7 and 6.7.1

Images should be attached.
Comment 1 jlindenbaum 2009-09-14 03:41:59 UTC
Created attachment 87573 [details]
Try / Catch statement correctly formatted
Comment 2 jlindenbaum 2009-09-14 03:42:26 UTC
Created attachment 87574 [details]
try / catch statement after formatting operation is run
Comment 3 Tomasz Slota 2009-09-14 10:40:40 UTC
it works fine in the latest dev builds

*** This issue has been marked as a duplicate of 162320 ***