|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.formatting.JSCodeFormatterOptions
public class JSCodeFormatterOptions
| Field Summary | |
|---|---|
int |
blankLinesBeforeMethod
blankLinesBeforeMethod |
int |
blankLinesInStartOfMethodBody
blankLinesInStartOfMethodBody |
boolean |
compactElseIf
compactElseIf |
boolean |
doFormatting
do formatting |
static int |
END_LINE
END_LINE |
int |
formatterBracePositionForArrayInitializer
formatterBracePositionForArrayInitializer |
int |
formatterBracePositionForBlock
formatterBracePositionForBlock |
int |
formatterBracePositionForBlockInCase
formatterBracePositionForBlockInCase |
int |
formatterBracePositionForBlockInSwitch
formatterBracePositionForBlockInSwitch |
int |
formatterBracePositionForMethodDecl
formatterBracePositionForMethodDecl |
java.lang.String |
formatterTabChar
formatterTabChar |
boolean |
indentBreaksCompareToCases
indentBreaksCompareToCases |
boolean |
indentEmptyLines
indentEmptyLines |
boolean |
indentStatementsCompareToBlock
indentStatementsCompareToBlock |
boolean |
indentStatementsCompareToBody
indentStatementsCompareToBody |
boolean |
indentStatementsCompareToCases
indentStatementsCompareToCases |
boolean |
indentStatementsCompareToSwitch
indentStatementsCompareToSwitch |
boolean |
insertNewLineBeforeCatch
insertNewLineBeforeCatch |
boolean |
insertNewLineBeforeElse
insertNewLineBeforeElse |
boolean |
insertNewLineBeforeFinally
insertNewLineBeforeFinally |
boolean |
insertNewLineBeforeIf
Insert a new line before if statements |
boolean |
insertNewLineBeforeReturn
Insert a new line before return statements |
boolean |
insertNewLineBeforeWhile
insertNewLineBeforeWhile |
boolean |
keepElseStatementOnSameLine
keepElseStatementOnSameLine |
boolean |
keepEmptyArrayInitializerOnOneLine
keepEmptyArrayInitializerOnOneLine |
boolean |
keepGuardianClauseOnOneLine
keepGuardianClauseOnOneLine |
boolean |
keepSimpleIfOnOneLine
keepSimpleIfOnOneLine |
boolean |
keepThenSameLine
keepThenSameLine |
static int |
NEXT_LINE
NEXT_LINE |
static int |
NEXT_LINE_SHIFTED
NEXT_LINE_SHIFTED |
boolean |
preserveLineBreaks
keepEmptyArrayInitializerOnOneLine |
int |
tabSize
tabSize |
| Constructor Summary | |
|---|---|
JSCodeFormatterOptions()
|
|
JSCodeFormatterOptions(java.util.Map map,
org.eclipse.core.resources.IProject project)
|
|
| Method Summary | |
|---|---|
int |
parseOption(org.eclipse.core.runtime.preferences.IEclipsePreferences store,
java.lang.String id)
|
int |
parseOption(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String id)
|
int |
parseOption(java.util.Map store,
java.lang.String id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int END_LINE
public static final int NEXT_LINE
public static final int NEXT_LINE_SHIFTED
public boolean insertNewLineBeforeElse
public boolean insertNewLineBeforeCatch
public boolean insertNewLineBeforeFinally
public boolean insertNewLineBeforeWhile
public boolean insertNewLineBeforeReturn
public boolean insertNewLineBeforeIf
public boolean keepThenSameLine
public boolean keepSimpleIfOnOneLine
public boolean keepElseStatementOnSameLine
public boolean compactElseIf
public boolean keepGuardianClauseOnOneLine
public java.lang.String formatterTabChar
public int tabSize
public boolean indentStatementsCompareToBody
public boolean indentStatementsCompareToBlock
public boolean indentStatementsCompareToSwitch
public boolean indentStatementsCompareToCases
public boolean indentBreaksCompareToCases
public boolean indentEmptyLines
public int blankLinesBeforeMethod
public int blankLinesInStartOfMethodBody
public boolean preserveLineBreaks
public int formatterBracePositionForMethodDecl
public int formatterBracePositionForBlock
public int formatterBracePositionForBlockInCase
public int formatterBracePositionForBlockInSwitch
public int formatterBracePositionForArrayInitializer
public boolean keepEmptyArrayInitializerOnOneLine
public boolean doFormatting
| Constructor Detail |
|---|
public JSCodeFormatterOptions()
public JSCodeFormatterOptions(java.util.Map map,
org.eclipse.core.resources.IProject project)
map - project - | Method Detail |
|---|
public final int parseOption(org.eclipse.jface.preference.IPreferenceStore store,
java.lang.String id)
store - id -
public final int parseOption(java.util.Map store,
java.lang.String id)
store - id -
public final int parseOption(org.eclipse.core.runtime.preferences.IEclipsePreferences store,
java.lang.String id)
store - id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||