EasyManua.ls Logo

SlickEdit V3.3 - Page 272

Default Icon
568 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents