public class FormattingOptions
extends java.util.LinkedHashMap<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Either3<java.lang.String,java.lang.Number,java.lang.Boolean>>
| Constructor and Description |
|---|
FormattingOptions() |
FormattingOptions(int tabSize,
boolean insertSpaces) |
FormattingOptions(int tabSize,
boolean insertSpaces,
java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
See https://github.com/eclipse/lsp4j/issues/99
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBoolean(java.lang.String key) |
java.lang.Number |
getNumber(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated.
See https://github.com/eclipse/lsp4j/issues/99
|
java.lang.String |
getString(java.lang.String key) |
int |
getTabSize()
Size of a tab in spaces.
|
boolean |
isInsertSpaces()
Prefer spaces over tabs.
|
void |
putBoolean(java.lang.String key,
java.lang.Boolean value) |
void |
putNumber(java.lang.String key,
java.lang.Number value) |
void |
putString(java.lang.String key,
java.lang.String value) |
void |
setInsertSpaces(boolean insertSpaces) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.
See https://github.com/eclipse/lsp4j/issues/99
|
void |
setTabSize(int tabSize) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic FormattingOptions()
public FormattingOptions(int tabSize,
boolean insertSpaces)
@Deprecated
public FormattingOptions(int tabSize,
boolean insertSpaces,
java.util.Map<java.lang.String,java.lang.String> properties)
public java.lang.String getString(java.lang.String key)
public void putString(java.lang.String key,
java.lang.String value)
public java.lang.Number getNumber(java.lang.String key)
public void putNumber(java.lang.String key,
java.lang.Number value)
public java.lang.Boolean getBoolean(java.lang.String key)
public void putBoolean(java.lang.String key,
java.lang.Boolean value)
public int getTabSize()
public void setTabSize(int tabSize)
public boolean isInsertSpaces()
public void setInsertSpaces(boolean insertSpaces)
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
@Deprecated public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)