i would like to keep code like this (and use autoformat):
try { System.out.println("oh"); } catch(Exception e) {}
try { System.out.println("hey"); } catch(Exception e) {}
but netbeans reformats to this:
try {
System.out.println("oh");
} catch (Exception e) {
}
try {
System.out.println("hey");
} catch (Exception e) {
}
is there any way to prevent this? to keep try/catch, or at least to keep {} on same line?