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.
Hi guys, while implementing google PMD checkstyle rules, we need to make sure that logical operators in disjunctive catch types always appear in new line. So the required format is like so try { //some code } catch (ParseErrorException | MethodInvocationException | ResourceNotFoundException exception) { //some code } Currently there is no option to configure this in the netbeans editor Product Version: NetBeans IDE 8.1 (Build 201510222201) Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1 Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
set Disjunctive Catch Types to Always in Options -> Editor -> Formatting -> Java -> Wrapping. The only difference is that '|' is left on the end of line
Correct JIRI and this is preventing us from implementing google check style in netbeans
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/45db361b5a2b
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/45db361b5a2b User: Dusan Balek <dbalek@netbeans.org> Log: Issue #258311 - Disjunctive exception catch code formatting rule - fixed.