Slick EDIT V3.3 User Manual

Page 272

Advertising
background image

Use continuation indent on function parameters - Determines whether function parameters should

always use the continuation indent.

By default, we format multi-line function parameters as follows:

myLongMethodName(firstarg,

secondarg,

thirdarg

);

myLongMethodName(

firstarg,

new ActionListener() {

public void actionPerformed(ActionEvent e) {

createdButtonFired(buttonIndex);

}

},

thirdarg

);

myLongMethodName(new ActionListener() {

// special case anonymous class

first argument

public void actionPerformed(ActionEvent e) {

createdButtonFired(buttonIndex);

}

},

secondarg,

thirdarg

);

myLongMethodName(

secondarg,

new ActionListener() {

public void actionPerformed(ActionEvent e) {

createdButtonFired(buttonIndex);

}

},

thirdarg

);

If Use continuation indent on function parameters is selected, the format will change as follows:

myLongMethodName(firstarg,

secondarg,

thirdarg

);

myLongMethodName(

firstarg,

new ActionListener() {

public void actionPerformed(ActionEvent e) {

createdButtonFired(buttonIndex);

Java Formatting Options

250

Advertising